[Script Info] Title: [Events] Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text Dialogue: 0,0:00:10.03,0:00:12.68,Default,,0000,0000,0000,,put Dialogue: 0,0:00:12.68,0:00:15.95,Default,,0000,0000,0000,,this presentation is delivered by the stanford center for professional Dialogue: 0,0:00:15.95,0:00:22.95,Default,,0000,0000,0000,,development Dialogue: 0,0:00:25.62,0:00:27.00,Default,,0000,0000,0000,,study questions Dialogue: 0,0:00:27.00,0:00:30.71,Default,,0000,0000,0000,,about anything we've done so far and last and what you've got and foreign Dialogue: 0,0:00:30.71,0:00:32.28,Default,,0000,0000,0000,,experts topic Dialogue: 0,0:00:32.28,0:00:35.65,Default,,0000,0000,0000,,before we dive in particular topic Dialogue: 0,0:00:35.65,0:00:37.47,Default,,0000,0000,0000,,feeling okay Dialogue: 0,0:00:37.47,0:00:40.49,Default,,0000,0000,0000,,one of things that we sort of gone the whole time in this class we use these Dialogue: 0,0:00:40.49,0:00:43.11,Default,,0000,0000,0000,,things called a cm librarians Dialogue: 0,0:00:43.11,0:00:47.03,Default,,0000,0000,0000,,and they sam libraries are set of libraries contractually created by a Dialogue: 0,0:00:47.03,0:00:50.06,Default,,0000,0000,0000,,task force people they say the association for community really talked Dialogue: 0,0:00:50.06,0:00:53.25,Default,,0000,0000,0000,,about them at the very beginning of the christ we talked about these libraries Dialogue: 0,0:00:53.25,0:00:56.51,Default,,0000,0000,0000,,who put together some nice libraries have stopped at a really useful for Dialogue: 0,0:00:56.51,0:00:58.87,Default,,0000,0000,0000,,teaching which is actually why we use them Dialogue: 0,0:00:58.87,0:01:02.24,Default,,0000,0000,0000,,and so today i want to do it left a little bit underneath the hood and talk Dialogue: 0,0:01:02.24,0:01:04.54,Default,,0000,0000,0000,,a little bit about standard java Dialogue: 0,0:01:04.54,0:01:07.54,Default,,0000,0000,0000,,which is what you would get if you didn't use the a{\u1}c{\u0}l{\u1}u{\u0} libraries and Dialogue: 0,0:01:07.54,0:01:10.66,Default,,0000,0000,0000,,you just use the standard java libros now i have no reason why you can't Dialogue: 0,0:01:10.66,0:01:12.92,Default,,0000,0000,0000,,continue to use the a c white recap of the class Dialogue: 0,0:01:12.92,0:01:15.42,Default,,0000,0000,0000,,that's another set of libraries that were written by a group of people that Dialogue: 0,0:01:15.42,0:01:16.81,Default,,0000,0000,0000,,you're certainly welcome to use Dialogue: 0,0:01:16.81,0:01:18.77,Default,,0000,0000,0000,,so there's no reason why you Dialogue: 0,0:01:18.77,0:01:20.02,Default,,0000,0000,0000,,should stop using them Dialogue: 0,0:01:20.02,0:01:23.13,Default,,0000,0000,0000,,but i just want to give you a little bit there's a couple important issues relate Dialogue: 0,0:01:23.13,0:01:26.32,Default,,0000,0000,0000,,to standard java that now is a time when we can find a lift the covers and it's Dialogue: 0,0:01:26.32,0:01:28.30,Default,,0000,0000,0000,,time for you to know Dialogue: 0,0:01:28.30,0:01:34.89,Default,,0000,0000,0000,,so the first thing that's related to thinking about standards outlined Dialogue: 0,0:01:34.89,0:01:37.88,Default,,0000,0000,0000,,you know when you're running your programs in uganda clips and you do your Dialogue: 0,0:01:37.88,0:01:41.28,Default,,0000,0000,0000,,you click on the little running guide to compile your programs and then it gives Dialogue: 0,0:01:41.28,0:01:44.48,Default,,0000,0000,0000,,you a list attention we ob Dialogue: 0,0:01:44.48,0:01:47.74,Default,,0000,0000,0000,,classes you actually might want to run sometimes if you only have one project Dialogue: 0,0:01:47.74,0:01:49.47,Default,,0000,0000,0000,,images only get one twice Dialogue: 0,0:01:49.47,0:01:52.87,Default,,0000,0000,0000,,but i think i think about it a maryland like in the game show for program i Dialogue: 0,0:01:52.87,0:01:55.33,Default,,0000,0000,0000,,actually have like four or five different classes Dialogue: 0,0:01:55.33,0:01:59.03,Default,,0000,0000,0000,,how can always knew which class to run acknowledged his name sir for class was Dialogue: 0,0:01:59.03,0:02:01.10,Default,,0000,0000,0000,,the class and i actually should run Dialogue: 0,0:02:01.10,0:02:08.10,Default,,0000,0000,0000,,right i had a bunch of classes and their anyone wanna venture a guess Dialogue: 0,0:02:08.70,0:02:12.68,Default,,0000,0000,0000,,it's only class wounded orion which is barry related to Dialogue: 0,0:02:12.68,0:02:16.02,Default,,0000,0000,0000,,and underlying issue which is that it's the only class that actually was Dialogue: 0,0:02:16.02,0:02:17.45,Default,,0000,0000,0000,,extending program Dialogue: 0,0:02:17.45,0:02:20.46,Default,,0000,0000,0000,,and so wanted extended program what actually was happening underneath the Dialogue: 0,0:02:20.46,0:02:25.71,Default,,0000,0000,0000,,hood of the a{\u1}t{\u0}m_ libros is you are getting a method Dialogue: 0,0:02:25.71,0:02:29.93,Default,,0000,0000,0000,,and maine is actually the place now your total old enough to see main Dialogue: 0,0:02:29.93,0:02:34.51,Default,,0000,0000,0000,,maine is actually the method at which java classes actually start running Dialogue: 0,0:02:34.51,0:02:37.95,Default,,0000,0000,0000,,and so i think you should think now as you get a little distributor like and i Dialogue: 0,0:02:37.95,0:02:39.95,Default,,0000,0000,0000,,never wrote method called me Dialogue: 0,0:02:39.95,0:02:43.77,Default,,0000,0000,0000,,i never saw a method called main you're telling me that's where java programs Dialogue: 0,0:02:43.77,0:02:44.99,Default,,0000,0000,0000,,actually start running Dialogue: 0,0:02:44.99,0:02:46.48,Default,,0000,0000,0000,,yeah in fact it is Dialogue: 0,0:02:46.48,0:02:48.58,Default,,0000,0000,0000,,and it's because programs Dialogue: 0,0:02:48.58,0:02:52.05,Default,,0000,0000,0000,,provided this main method for you and with his main method in the program Dialogue: 0,0:02:52.05,0:02:55.37,Default,,0000,0000,0000,,was essentially get the rest of your program running by getting a few things Dialogue: 0,0:02:55.37,0:02:57.49,Default,,0000,0000,0000,,set up a ninety cannot cure runner Dialogue: 0,0:02:57.49,0:02:59.62,Default,,0000,0000,0000,,so you didn't actually need to worry about this Dialogue: 0,0:02:59.62,0:03:01.29,Default,,0000,0000,0000,,but now you're sort of old enough Dialogue: 0,0:03:01.29,0:03:05.23,Default,,0000,0000,0000,,to actually see what that means after dissolve about Dialogue: 0,0:03:05.23,0:03:08.65,Default,,0000,0000,0000,,so if we think about what this means that the guys and though hope for the Dialogue: 0,0:03:08.65,0:03:11.37,Default,,0000,0000,0000,,main method is also kind of where this part of a reason why we never showed you Dialogue: 0,0:03:11.37,0:03:12.66,Default,,0000,0000,0000,,the main method before Dialogue: 0,0:03:12.66,0:03:17.24,Default,,0000,0000,0000,,the head of hair for the main method is actually public Dialogue: 0,0:03:17.24,0:03:18.80,Default,,0000,0000,0000,,static Dialogue: 0,0:03:18.80,0:03:20.43,Default,,0000,0000,0000,,poorly Dialogue: 0,0:03:20.43,0:03:23.37,Default,,0000,0000,0000,,team but we're not done yet me and actually have some arguments Dialogue: 0,0:03:23.37,0:03:26.43,Default,,0000,0000,0000,,it has been a rehab stream Dialogue: 0,0:03:26.43,0:03:27.54,Default,,0000,0000,0000,,called pardons Dialogue: 0,0:03:27.54,0:03:31.94,Default,,0000,0000,0000,,as arguments and then something here happens inside of me Dialogue: 0,0:03:31.94,0:03:34.75,Default,,0000,0000,0000,,and we showed that you're on the first day we would have to go through and Dialogue: 0,0:03:34.75,0:03:36.45,Default,,0000,0000,0000,,explain what all these words man Dialogue: 0,0:03:36.45,0:03:39.86,Default,,0000,0000,0000,,before we explain what main even wise before we explained you how do you Dialogue: 0,0:03:39.86,0:03:41.05,Default,,0000,0000,0000,,writer first program Dialogue: 0,0:03:41.05,0:03:42.30,Default,,0000,0000,0000,,that would have been a pain Dialogue: 0,0:03:42.30,0:03:46.24,Default,,0000,0000,0000,,but now we can just tell you right public means is a public method you know Dialogue: 0,0:03:46.24,0:03:48.69,Default,,0000,0000,0000,,that if i call the other public methods you've written Dialogue: 0,0:03:48.69,0:03:51.17,Default,,0000,0000,0000,,static means that this is actually eight Dialogue: 0,0:03:51.17,0:03:53.54,Default,,0000,0000,0000,,method that belongs to the class Dialogue: 0,0:03:53.54,0:03:57.18,Default,,0000,0000,0000,,it's it instead it's not something that you would actually call on a particular Dialogue: 0,0:03:57.18,0:03:57.86,Default,,0000,0000,0000,,object right Dialogue: 0,0:03:57.86,0:04:01.73,Default,,0000,0000,0000,,so you never have some project like yours mine object action i call acts dot Dialogue: 0,0:04:01.73,0:04:02.49,Default,,0000,0000,0000,,main Dialogue: 0,0:04:02.49,0:04:05.14,Default,,0000,0000,0000,,maine is just something that gets called Dialogue: 0,0:04:05.14,0:04:08.78,Default,,0000,0000,0000,,class method as opposed to being a method that gets called on an instant Dialogue: 0,0:04:08.78,0:04:11.09,Default,,0000,0000,0000,,and avoid means just returns nothing Dialogue: 0,0:04:11.09,0:04:14.58,Default,,0000,0000,0000,,what it's getting passed in here is an array of strings you might say it was Dialogue: 0,0:04:14.58,0:04:18.71,Default,,0000,0000,0000,,that array of strings coming from that's actually harks back to the days of your Dialogue: 0,0:04:18.71,0:04:21.90,Default,,0000,0000,0000,,when computers weren't all nice in graphical when everything Dialogue: 0,0:04:21.90,0:04:25.01,Default,,0000,0000,0000,,and when people actually well programs they wrote a program and then they were Dialogue: 0,0:04:25.01,0:04:27.95,Default,,0000,0000,0000,,typing on what's called the command line they wrote the name of the program out Dialogue: 0,0:04:27.95,0:04:29.09,Default,,0000,0000,0000,,the actually typed it Dialogue: 0,0:04:29.09,0:04:32.28,Default,,0000,0000,0000,,and then they typed a bunch of things that they want to be passed into the Dialogue: 0,0:04:32.28,0:04:32.98,Default,,0000,0000,0000,,program Dialogue: 0,0:04:32.98,0:04:35.94,Default,,0000,0000,0000,,as sort of like initial information to start that program Dialogue: 0,0:04:35.94,0:04:38.94,Default,,0000,0000,0000,,though the national thanks hope you had some program like names are for Dialogue: 0,0:04:38.94,0:04:42.86,Default,,0000,0000,0000,,you might actually start off by giving the name of the program Dialogue: 0,0:04:42.86,0:04:45.50,Default,,0000,0000,0000,,and then happening separate you might give it some other people think that you Dialogue: 0,0:04:45.50,0:04:47.37,Default,,0000,0000,0000,,might give the name of the data file Dialogue: 0,0:04:47.37,0:04:49.49,Default,,0000,0000,0000,,like leader dot correct Dialogue: 0,0:04:49.49,0:04:53.22,Default,,0000,0000,0000,,anybody given it some other things as well but were separated by spaces Dialogue: 0,0:04:53.22,0:04:57.51,Default,,0000,0000,0000,,and this list of stop is essentially what gets passed in here is arguments Dialogue: 0,0:04:57.51,0:04:59.02,Default,,0000,0000,0000,,there just rings Dialogue: 0,0:04:59.02,0:05:02.73,Default,,0000,0000,0000,,and this is how the program would actually know what came in on what we Dialogue: 0,0:05:02.73,0:05:06.12,Default,,0000,0000,0000,,refer to as the command line when the program is kicked off a mighty Dialogue: 0,0:05:06.12,0:05:09.93,Default,,0000,0000,0000,,from our job is not that although the language right exotic came around really Dialogue: 0,0:05:09.93,0:05:12.46,Default,,0000,0000,0000,,sagging popularity in nineteen ninety five Dialogue: 0,0:05:12.46,0:05:15.71,Default,,0000,0000,0000,,people aren't doing a lot of nineteen ninety five like i already have like my Dialogue: 0,0:05:15.71,0:05:18.98,Default,,0000,0000,0000,,mouth and i have my folders and i have all this other stuff Dialogue: 0,0:05:18.98,0:05:20.69,Default,,0000,0000,0000,,even if you were like six years old Dialogue: 0,0:05:20.69,0:05:24.32,Default,,0000,0000,0000,,you probably already dead right and you like i never typed this stop Dialogue: 0,0:05:24.32,0:05:27.89,Default,,0000,0000,0000,,so why do i care about at the reason why you care about is actually java derived Dialogue: 0,0:05:27.89,0:05:30.20,Default,,0000,0000,0000,,from another language called seat which Dialogue: 0,0:05:30.20,0:05:32.47,Default,,0000,0000,0000,,and as a variation called c_ plus plus Dialogue: 0,0:05:32.47,0:05:36.18,Default,,0000,0000,0000,,that was created when people writing programs in the days of your and the Dialogue: 0,0:05:36.18,0:05:40.43,Default,,0000,0000,0000,,whole notion of maine and having some arguments they get passed to me kind of Dialogue: 0,0:05:40.43,0:05:42.88,Default,,0000,0000,0000,,came along with sort of the baggage of Dialogue: 0,0:05:42.88,0:05:47.06,Default,,0000,0000,0000,,actually having a program language becomes the sort of matches the c Dialogue: 0,0:05:47.06,0:05:50.04,Default,,0000,0000,0000,,stop programming languages when they did do this Dialogue: 0,0:05:50.04,0:05:52.85,Default,,0000,0000,0000,,so a lot of the times in a row java program these days there aren't really Dialogue: 0,0:05:52.85,0:05:56.51,Default,,0000,0000,0000,,any argument regarding mister some system parameters something like that Dialogue: 0,0:05:56.51,0:05:58.19,Default,,0000,0000,0000,,we don't usually worry about them Dialogue: 0,0:05:58.19,0:05:59.16,Default,,0000,0000,0000,,okay but just so Dialogue: 0,0:05:59.16,0:06:02.04,Default,,0000,0000,0000,,when you go and look at some other java program is that you can be a scam Dialogue: 0,0:06:02.04,0:06:04.64,Default,,0000,0000,0000,,library can you see this main thing in your wondering what's it all about Dialogue: 0,0:06:04.64,0:06:07.19,Default,,0000,0000,0000,,this is you don't think i mean analogously toronto Dialogue: 0,0:06:07.19,0:06:10.17,Default,,0000,0000,0000,,it's just won't give you know the whole time you've been thinking of running for Dialogue: 0,0:06:10.17,0:06:11.70,Default,,0000,0000,0000,,your execution starts Dialogue: 0,0:06:11.70,0:06:15.46,Default,,0000,0000,0000,,maine is really were executions Dialogue: 0,0:06:15.46,0:06:16.56,Default,,0000,0000,0000,,that you think about Dialogue: 0,0:06:16.56,0:06:21.02,Default,,0000,0000,0000,,okay execution actually started in maine so how did this thing actually kick off Dialogue: 0,0:06:21.02,0:06:22.82,Default,,0000,0000,0000,,my runescape Dialogue: 0,0:06:22.82,0:06:24.85,Default,,0000,0000,0000,,now you're short old enough to see that's you Dialogue: 0,0:06:24.85,0:06:28.46,Default,,0000,0000,0000,,so what it actually did like let's say this was the main method in a program Dialogue: 0,0:06:28.46,0:06:29.26,Default,,0000,0000,0000,,like Dialogue: 0,0:06:29.26,0:06:30.20,Default,,0000,0000,0000,,named surf Dialogue: 0,0:06:30.20,0:06:31.97,Default,,0000,0000,0000,,so somewhere Dialogue: 0,0:06:31.97,0:06:35.77,Default,,0000,0000,0000,,inside of eight op program inside the e{\u1}c{\u0} and libraries for program we have Dialogue: 0,0:06:35.77,0:06:36.96,Default,,0000,0000,0000,,this main method Dialogue: 0,0:06:36.96,0:06:40.97,Default,,0000,0000,0000,,they figured out what the name of your class was essentially it had a one-liner Dialogue: 0,0:06:40.97,0:06:41.43,Default,,0000,0000,0000,,renewed Dialogue: 0,0:06:41.43,0:06:44.03,Default,,0000,0000,0000,,that would have been approval incidents Dialogue: 0,0:06:44.03,0:06:48.55,Default,,0000,0000,0000,,new name surfer Dialogue: 0,0:06:48.55,0:06:51.17,Default,,0000,0000,0000,,and started Dialogue: 0,0:06:51.17,0:06:53.37,Default,,0000,0000,0000,,departed Dialogue: 0,0:06:53.37,0:06:55.07,Default,,0000,0000,0000,,start to wonder why Dialogue: 0,0:06:55.07,0:06:56.28,Default,,0000,0000,0000,,and now Dialogue: 0,0:06:56.28,0:06:59.39,Default,,0000,0000,0000,,you know what this means what was actually doing what it means you would Dialogue: 0,0:06:59.39,0:07:01.06,Default,,0000,0000,0000,,main started note Dialogue: 0,0:07:01.06,0:07:03.70,Default,,0000,0000,0000,,object exist in the world like at the static method Dialogue: 0,0:07:03.70,0:07:07.52,Default,,0000,0000,0000,,so there's no object that you're you know giving them a message to your just Dialogue: 0,0:07:07.52,0:07:11.69,Default,,0000,0000,0000,,main just kind of starts off wakes up says hey i mean what am i going to do Dialogue: 0,0:07:11.69,0:07:13.31,Default,,0000,0000,0000,,why don't i create Dialogue: 0,0:07:13.31,0:07:17.79,Default,,0000,0000,0000,,some object of this particular tightening surfer which happens Dialogue: 0,0:07:17.79,0:07:20.17,Default,,0000,0000,0000,,instantiate an object which is your program Dialogue: 0,0:07:20.17,0:07:24.30,Default,,0000,0000,0000,,and then remember your program as we can talk about implements the run method and Dialogue: 0,0:07:24.30,0:07:26.42,Default,,0000,0000,0000,,actually a program underneath the hood Dialogue: 0,0:07:26.42,0:07:29.61,Default,,0000,0000,0000,,implements the run double interface that we talked about last time remember with Dialogue: 0,0:07:29.61,0:07:32.01,Default,,0000,0000,0000,,threads we talked about the run a bowl interface Dialogue: 0,0:07:32.01,0:07:35.20,Default,,0000,0000,0000,,lol programs and plant or animal interface and how you kick off something Dialogue: 0,0:07:35.20,0:07:37.70,Default,,0000,0000,0000,,that's run double use a start Dialogue: 0,0:07:37.70,0:07:42.62,Default,,0000,0000,0000,,so what it basically did was created an object of your class which was named Dialogue: 0,0:07:42.62,0:07:43.17,Default,,0000,0000,0000,,surfer Dialogue: 0,0:07:43.17,0:07:47.23,Default,,0000,0000,0000,,and told at the start and it happened to start pass along these arguments Dialogue: 0,0:07:47.23,0:07:50.19,Default,,0000,0000,0000,,but you never needed to see those arguments the matter fact you never did Dialogue: 0,0:07:50.19,0:07:51.44,Default,,0000,0000,0000,,see them because Dialogue: 0,0:07:51.44,0:07:54.95,Default,,0000,0000,0000,,when your articles instantiated it didn't expect any arguments Dialogue: 0,0:07:54.95,0:07:58.76,Default,,0000,0000,0000,,so the argument actually got pass this thing called stock we just ignored them Dialogue: 0,0:07:58.76,0:07:59.40,Default,,0000,0000,0000,,basically Dialogue: 0,0:07:59.40,0:08:02.96,Default,,0000,0000,0000,,and then started to run method to kick everything off Dialogue: 0,0:08:02.96,0:08:06.13,Default,,0000,0000,0000,,and last summer we talked about start we talked about this in the context of Dialogue: 0,0:08:06.13,0:08:08.54,Default,,0000,0000,0000,,thread so we said hello you create a new thread Dialogue: 0,0:08:08.54,0:08:11.27,Default,,0000,0000,0000,,and that are the object that you're gonna start running we put inside of Dialogue: 0,0:08:11.27,0:08:13.31,Default,,0000,0000,0000,,thread we take the thread off with start Dialogue: 0,0:08:13.31,0:08:15.72,Default,,0000,0000,0000,,in this case we're not actually creating a new thread Dialogue: 0,0:08:15.72,0:08:19.54,Default,,0000,0000,0000,,we're just saying i want to start executing basically decided that bag is Dialogue: 0,0:08:19.54,0:08:22.37,Default,,0000,0000,0000,,created it implements run of course they'll start running from the method Dialogue: 0,0:08:22.37,0:08:22.86,Default,,0000,0000,0000,,run Dialogue: 0,0:08:22.86,0:08:26.60,Default,,0000,0000,0000,,but i'm not creating a new thread so this thing is going to execute in the Dialogue: 0,0:08:26.60,0:08:28.64,Default,,0000,0000,0000,,same thread of execution Dialogue: 0,0:08:28.64,0:08:31.38,Default,,0000,0000,0000,,as the entire Dialogue: 0,0:08:31.38,0:08:34.62,Default,,0000,0000,0000,,so i don't suddenly kick off something that's running in parallel with this guy Dialogue: 0,0:08:34.62,0:08:37.39,Default,,0000,0000,0000,,it's actually just sequentially going to start name surfer Dialogue: 0,0:08:37.39,0:08:41.94,Default,,0000,0000,0000,,and that's the last thing that this guy does which is based on a valuable Dialogue: 0,0:08:41.94,0:08:43.37,Default,,0000,0000,0000,,sam questions about that Dialogue: 0,0:08:43.37,0:08:46.25,Default,,0000,0000,0000,,kind of a funky concept but that's basically what's going on you should see Dialogue: 0,0:08:46.25,0:08:46.77,Default,,0000,0000,0000,,it Dialogue: 0,0:08:46.77,0:08:49.87,Default,,0000,0000,0000,,we're creating an instance of your program and then just kicking it off Dialogue: 0,0:08:49.87,0:08:52.67,Default,,0000,0000,0000,,and that's why this whole time we have this thing called the run method that Dialogue: 0,0:08:52.67,0:08:53.76,Default,,0000,0000,0000,,had to be public Dialogue: 0,0:08:53.76,0:08:57.78,Default,,0000,0000,0000,,because is implementing the rundle interface but now you've seen any Dialogue: 0,0:08:57.78,0:09:00.74,Default,,0000,0000,0000,,and the only reason you know you kind of mca Dialogue: 0,0:09:00.74,0:09:03.65,Default,,0000,0000,0000,,added meaning your program to begin with and include all the score the only Dialogue: 0,0:09:03.65,0:09:05.38,Default,,0000,0000,0000,,reason we didn't put it in there before Dialogue: 0,0:09:05.38,0:09:08.07,Default,,0000,0000,0000,,it because will want to planing to stop Dialogue: 0,0:09:08.07,0:09:11.78,Default,,0000,0000,0000,,in week two of the class like right after kalra lower like all the dancing Dialogue: 0,0:09:11.78,0:09:12.80,Default,,0000,0000,0000,,provide on right Dialogue: 0,0:09:12.80,0:09:15.51,Default,,0000,0000,0000,,artillery by turning around the world i think java Dialogue: 0,0:09:15.51,0:09:18.28,Default,,0000,0000,0000,,public static void main string args like Dialogue: 0,0:09:18.28,0:09:21.10,Default,,0000,0000,0000,,what is going on right we hadn't done a raise Dialogue: 0,0:09:21.10,0:09:22.62,Default,,0000,0000,0000,,then done classes with Dialogue: 0,0:09:22.62,0:09:27.23,Default,,0000,0000,0000,,fingering about static we certainly and methods then demand bremer past Dialogue: 0,0:09:27.23,0:09:32.60,Default,,0000,0000,0000,,so we just wait until the end of ninety cm now you know what's going on Dialogue: 0,0:09:32.60,0:09:34.40,Default,,0000,0000,0000,,now that we have a bad idea Dialogue: 0,0:09:34.40,0:09:37.83,Default,,0000,0000,0000,,now we can think about okay if this is kind of like the standard javaworld days Dialogue: 0,0:09:37.83,0:09:41.80,Default,,0000,0000,0000,,let me think about taking this idea and using its help me take my existing Dialogue: 0,0:09:41.80,0:09:45.40,Default,,0000,0000,0000,,programs that i've written and pack them up into a form so i can share them with Dialogue: 0,0:09:45.40,0:09:46.96,Default,,0000,0000,0000,,family and friends Dialogue: 0,0:09:46.96,0:09:49.21,Default,,0000,0000,0000,,so that's what we're going to do next Dialogue: 0,0:09:49.21,0:09:55.36,Default,,0000,0000,0000,,the basic concept of doing this as something that's called a jar file Dialogue: 0,0:09:55.36,0:09:58.69,Default,,0000,0000,0000,,and you've actually seen jar files before because you've been working with Dialogue: 0,0:09:58.69,0:10:01.78,Default,,0000,0000,0000,,something this whole time in your product projects Dialogue: 0,0:10:01.78,0:10:03.92,Default,,0000,0000,0000,,called pcm dot jar Dialogue: 0,0:10:03.92,0:10:05.83,Default,,0000,0000,0000,,this was just eight jar file Dialogue: 0,0:10:05.83,0:10:08.14,Default,,0000,0000,0000,,they contained all the a{\u1}t{\u0}m_ libraries Dialogue: 0,0:10:08.14,0:10:11.18,Default,,0000,0000,0000,,so basically college are pile is where to get its name is not because it's like Dialogue: 0,0:10:11.18,0:10:13.95,Default,,0000,0000,0000,,i did a big mason jar although you can think of it like that Dialogue: 0,0:10:13.95,0:10:16.77,Default,,0000,0000,0000,,it stands for a job loc Dialogue: 0,0:10:16.77,0:10:19.14,Default,,0000,0000,0000,,archive Dialogue: 0,0:10:19.14,0:10:21.20,Default,,0000,0000,0000,,that's where the name comes Dialogue: 0,0:10:21.20,0:10:24.18,Default,,0000,0000,0000,,and the basically behind a jar file as this thing can contain a bunch of Dialogue: 0,0:10:24.18,0:10:28.45,Default,,0000,0000,0000,,different stuff most the time when it contains is a bunch of classes in job Dialogue: 0,0:10:28.45,0:10:31.75,Default,,0000,0000,0000,,and you could think of this is the compiled version of the classes Dialogue: 0,0:10:31.75,0:10:35.59,Default,,0000,0000,0000,,you can actually put source code inside of a jar if you want but most the time Dialogue: 0,0:10:35.59,0:10:36.60,Default,,0000,0000,0000,,when you get a jock Dialogue: 0,0:10:36.60,0:10:39.57,Default,,0000,0000,0000,,it doesn't have the source code associate with it it just has the actual Dialogue: 0,0:10:39.57,0:10:42.48,Default,,0000,0000,0000,,dot class five to the compiled version of the files Dialogue: 0,0:10:42.48,0:10:44.79,Default,,0000,0000,0000,,so you could put source pausing here if you want it Dialogue: 0,0:10:44.79,0:10:47.84,Default,,0000,0000,0000,,you complete data files in here if you want to put a bunch things in here if Dialogue: 0,0:10:47.84,0:10:48.41,Default,,0000,0000,0000,,you want Dialogue: 0,0:10:48.41,0:10:52.16,Default,,0000,0000,0000,,what we're really going to focus on the case of putting classes Dialogue: 0,0:10:52.16,0:10:55.29,Default,,0000,0000,0000,,so one of these already existed for you with a cm dot jar Dialogue: 0,0:10:55.29,0:10:58.47,Default,,0000,0000,0000,,and want to figure out how to actually create some of these ourselves Dialogue: 0,0:10:58.47,0:11:01.02,Default,,0000,0000,0000,,and use them because they could actually think of them as something that's Dialogue: 0,0:11:01.02,0:11:02.21,Default,,0000,0000,0000,,wonderful Dialogue: 0,0:11:02.21,0:11:05.21,Default,,0000,0000,0000,,were executed like ships and not confuse ramblings Dialogue: 0,0:11:05.21,0:11:07.21,Default,,0000,0000,0000,,so click on the computer Dialogue: 0,0:11:07.21,0:11:09.05,Default,,0000,0000,0000,,here's name sir Dialogue: 0,0:11:09.05,0:11:11.89,Default,,0000,0000,0000,,and then a natural working version of nameserver so i'm not going to show Dialogue: 0,0:11:11.89,0:11:14.98,Default,,0000,0000,0000,,press the files in case you're going to make this Dialogue: 0,0:11:14.98,0:11:18.63,Default,,0000,0000,0000,,but all the code in here and for the first thing i didn't mean surfer program Dialogue: 0,0:11:18.63,0:11:22.73,Default,,0000,0000,0000,,if i thought about me i want to think of this and the standard javaworld now even Dialogue: 0,0:11:22.73,0:11:25.59,Default,,0000,0000,0000,,though i'm do you still using the a{\u1}t{\u0}m_ libraries Dialogue: 0,0:11:25.59,0:11:29.47,Default,,0000,0000,0000,,when i want to build this jar i want to build the joint away the sort of makes Dialogue: 0,0:11:29.47,0:11:32.54,Default,,0000,0000,0000,,maximally portable like i can give it to someone who's over here on the species Dialogue: 0,0:11:32.54,0:11:33.100,Default,,0000,0000,0000,,i've never here on the snack Dialogue: 0,0:11:33.100,0:11:36.59,Default,,0000,0000,0000,,and they don't need to have a klutz or anything like that they can just one of Dialogue: 0,0:11:36.59,0:11:37.89,Default,,0000,0000,0000,,the whole point Dialogue: 0,0:11:37.89,0:11:39.67,Default,,0000,0000,0000,,so the first thing to do Dialogue: 0,0:11:39.67,0:11:42.72,Default,,0000,0000,0000,,if the introduced my friend the main method Dialogue: 0,0:11:42.72,0:11:46.39,Default,,0000,0000,0000,,and so basically i put in the car that you just opt out at a method public Dialogue: 0,0:11:46.39,0:11:50.91,Default,,0000,0000,0000,,static void main as this array of strings called arc that sits parameters Dialogue: 0,0:11:50.91,0:11:53.51,Default,,0000,0000,0000,,that's just the way maine is always defined to be Dialogue: 0,0:11:53.51,0:11:56.77,Default,,0000,0000,0000,,and what it's going to do is create a new name sir project Dialogue: 0,0:11:56.77,0:11:58.38,Default,,0000,0000,0000,,and kick it off Dialogue: 0,0:11:58.38,0:12:01.84,Default,,0000,0000,0000,,and that's the only thing i need to add to my program so anywhere you had some Dialogue: 0,0:12:01.84,0:12:03.09,Default,,0000,0000,0000,,class Dialogue: 0,0:12:03.09,0:12:04.05,Default,,0000,0000,0000,,extended program Dialogue: 0,0:12:04.05,0:12:06.65,Default,,0000,0000,0000,,you would add these three lines of code Dialogue: 0,0:12:06.65,0:12:10.78,Default,,0000,0000,0000,,so basically get us sort of compliant with standard job Dialogue: 0,0:12:10.78,0:12:14.00,Default,,0000,0000,0000,,once we do that now we need to create this thing called the jar file which is Dialogue: 0,0:12:14.00,0:12:17.75,Default,,0000,0000,0000,,thing the racks would be able to x Dialogue: 0,0:12:17.75,0:12:21.16,Default,,0000,0000,0000,,one thing you might be saying to yourself this maryland you told me the Dialogue: 0,0:12:21.16,0:12:24.48,Default,,0000,0000,0000,,a{\u1}c{\u0}l{\u1}u{\u0} libras already sort of provide this for me so why my putting it Dialogue: 0,0:12:24.48,0:12:28.56,Default,,0000,0000,0000,,explicitly in there is a matter of fact it's not super required to be in their Dialogue: 0,0:12:28.56,0:12:29.20,Default,,0000,0000,0000,,explicitly Dialogue: 0,0:12:29.20,0:12:32.96,Default,,0000,0000,0000,,the real reason why we put in their explicitly is to try to maximize Dialogue: 0,0:12:32.96,0:12:35.94,Default,,0000,0000,0000,,portability because even though java spoke at this property were like Dialogue: 0,0:12:35.94,0:12:39.43,Default,,0000,0000,0000,,uh... we would like the java code want to make a run on p{\u1}c{\u0}s in run on maxim Dialogue: 0,0:12:39.43,0:12:43.73,Default,,0000,0000,0000,,ic ron you know this time tiger and not for adults other stuff Dialogue: 0,0:12:43.73,0:12:47.84,Default,,0000,0000,0000,,in reality personal differences between these operating systems Dialogue: 0,0:12:47.84,0:12:50.94,Default,,0000,0000,0000,,and so little problems creep up here in there every once in while you actually Dialogue: 0,0:12:50.94,0:12:53.07,Default,,0000,0000,0000,,saw fuck you does in class on occasion Dialogue: 0,0:12:53.07,0:12:56.08,Default,,0000,0000,0000,,so your experience them in the letter Dialogue: 0,0:12:56.08,0:12:59.92,Default,,0000,0000,0000,,by putting in this one explicitly robin kind of relying on the code it in the a Dialogue: 0,0:12:59.92,0:13:03.57,Default,,0000,0000,0000,,c l_ libros exactly doing a bunch more complicated stuff right because Dialogue: 0,0:13:03.57,0:13:07.11,Default,,0000,0000,0000,,itni in for what the name of your class wise right you never told that Dialogue: 0,0:13:07.11,0:13:08.75,Default,,0000,0000,0000,,explicitly gracie i'm library Dialogue: 0,0:13:08.75,0:13:12.47,Default,,0000,0000,0000,,yeah i need a new one of these guys actually there's job as a story called Dialogue: 0,0:13:12.47,0:13:13.96,Default,,0000,0000,0000,,reflection reckon actually go in safe Dialogue: 0,0:13:13.96,0:13:17.53,Default,,0000,0000,0000,,i'll let me take a moment to reflect i'm going to go and look at the names of Dialogue: 0,0:13:17.53,0:13:19.06,Default,,0000,0000,0000,,your classes Dialogue: 0,0:13:19.06,0:13:22.42,Default,,0000,0000,0000,,and then do something actually generate some code based on the names of your Dialogue: 0,0:13:22.42,0:13:24.37,Default,,0000,0000,0000,,classes which is what it was doing Dialogue: 0,0:13:24.37,0:13:27.86,Default,,0000,0000,0000,,that kind of stuff going down a little bit coffee so we're just gonna say aid a Dialogue: 0,0:13:27.86,0:13:30.92,Default,,0000,0000,0000,,cm don't worry about it i'm just given it to you i'm a i'm a nice guy Dialogue: 0,0:13:30.92,0:13:35.92,Default,,0000,0000,0000,,say he's put this in to make it exposes our maximizes portability main reason Dialogue: 0,0:13:35.92,0:13:39.78,Default,,0000,0000,0000,,so how do we create a thing called a dropout what we're doing here Dialogue: 0,0:13:39.78,0:13:42.43,Default,,0000,0000,0000,,steps are all in excruciating detail on your hand out they don't need to worry Dialogue: 0,0:13:42.43,0:13:46.00,Default,,0000,0000,0000,,about scribbling down notes quickly but what we're gonna do is you first click Dialogue: 0,0:13:46.00,0:13:48.23,Default,,0000,0000,0000,,as the death multiple by the whole thing Dialogue: 0,0:13:48.23,0:13:53.05,Default,,0000,0000,0000,,you select the project that you wanna create the jobs are from so nameserver Dialogue: 0,0:13:53.05,0:13:56.35,Default,,0000,0000,0000,,and then we've got a farm and you and we pick export Dialogue: 0,0:13:56.35,0:13:59.12,Default,,0000,0000,0000,,to this whole time you were to imports when you are bringing stuff in and now Dialogue: 0,0:13:59.12,0:14:01.34,Default,,0000,0000,0000,,it's finally time for you to give something back to the world in the form Dialogue: 0,0:14:01.34,0:14:02.63,Default,,0000,0000,0000,,of export Dialogue: 0,0:14:02.63,0:14:04.74,Default,,0000,0000,0000,,so what you want to be when you click export is Dialogue: 0,0:14:04.74,0:14:07.56,Default,,0000,0000,0000,,it brings up a little dialogue box sometimes the sand clothes sometimes Dialogue: 0,0:14:07.56,0:14:10.61,Default,,0000,0000,0000,,it's open if it's not a big givers closed Dialogue: 0,0:14:10.61,0:14:13.90,Default,,0000,0000,0000,,an inside job when you click on jar products which you want to bring about Dialogue: 0,0:14:13.90,0:14:17.68,Default,,0000,0000,0000,,sniper and jar like on there for a permanent star if i can act Dialogue: 0,0:14:17.68,0:14:20.11,Default,,0000,0000,0000,,cams can take you through all the steps Dialogue: 0,0:14:20.11,0:14:23.48,Default,,0000,0000,0000,,we need to specify couple things your first we need to specify with in the jar Dialogue: 0,0:14:23.48,0:14:26.89,Default,,0000,0000,0000,,file salmon open up names are for and what i want to put inside the job cause Dialogue: 0,0:14:26.89,0:14:30.12,Default,,0000,0000,0000,,i don't want to have all of name surfer and the jar file it turns out Dialogue: 0,0:14:30.12,0:14:33.38,Default,,0000,0000,0000,,if you throw everything in there including the stuff called dot project Dialogue: 0,0:14:33.38,0:14:34.55,Default,,0000,0000,0000,,not classpath Dialogue: 0,0:14:34.55,0:14:37.44,Default,,0000,0000,0000,,it actually gets a little bit confused to some of those things are not germane Dialogue: 0,0:14:37.44,0:14:40.27,Default,,0000,0000,0000,,to what we want to pack up and our jar there just kind of other Dialogue: 0,0:14:40.27,0:14:43.21,Default,,0000,0000,0000,,uh... administrative information what we really want to have his everything Dialogue: 0,0:14:43.21,0:14:44.83,Default,,0000,0000,0000,,inside the default pack Dialogue: 0,0:14:44.83,0:14:47.85,Default,,0000,0000,0000,,so i just click on before package i can double click on this to make sure that Dialogue: 0,0:14:47.85,0:14:50.43,Default,,0000,0000,0000,,all of my java files are Dialogue: 0,0:14:50.43,0:14:54.24,Default,,0000,0000,0000,,that's what i want to my job i want basically all of my job file for the Dialogue: 0,0:14:54.24,0:14:56.61,Default,,0000,0000,0000,,compiled version of all blanco ob Dialogue: 0,0:14:56.61,0:14:57.66,Default,,0000,0000,0000,,job files Dialogue: 0,0:14:57.66,0:15:01.10,Default,,0000,0000,0000,,and make sure that this is click but by the father just make sure export Dialogue: 0,0:15:01.10,0:15:03.01,Default,,0000,0000,0000,,generated class files and resources Dialogue: 0,0:15:03.01,0:15:06.71,Default,,0000,0000,0000,,so what it's going to do is compiled those java files into that corresponding Dialogue: 0,0:15:06.71,0:15:07.44,Default,,0000,0000,0000,,class files Dialogue: 0,0:15:07.44,0:15:09.17,Default,,0000,0000,0000,,and that's what it's going to put in a jar Dialogue: 0,0:15:09.17,0:15:13.19,Default,,0000,0000,0000,,there are other options like i got export the java source file taiwan it Dialogue: 0,0:15:13.19,0:15:15.29,Default,,0000,0000,0000,,right then i get some of the actual source code Dialogue: 0,0:15:15.29,0:15:17.77,Default,,0000,0000,0000,,most the time you don't want to do this if you don't want people like sort of Dialogue: 0,0:15:17.77,0:15:20.58,Default,,0000,0000,0000,,sniffing for your source code just like there take the compiled by these are my Dialogue: 0,0:15:20.58,0:15:23.90,Default,,0000,0000,0000,,brethren give you the first timers like thirty days and my birth a good point Dialogue: 0,0:15:23.90,0:15:26.56,Default,,0000,0000,0000,,but we've got a given you this works Dialogue: 0,0:15:26.56,0:15:28.35,Default,,0000,0000,0000,,so once we have this Dialogue: 0,0:15:28.35,0:15:32.86,Default,,0000,0000,0000,,waiter now specified where do we want to save this jar file so that's what this Dialogue: 0,0:15:32.86,0:15:36.38,Default,,0000,0000,0000,,you know select the export destination what they should have a status Dialogue: 0,0:15:36.38,0:15:38.05,Default,,0000,0000,0000,,what you want to say that Dialogue: 0,0:15:38.05,0:15:41.43,Default,,0000,0000,0000,,that the export destination so where we want to say that we can browse around Dialogue: 0,0:15:41.43,0:15:44.63,Default,,0000,0000,0000,,where we want to save it is based on hard created a folder that has all my Dialogue: 0,0:15:44.63,0:15:46.36,Default,,0000,0000,0000,,name surfer code in it over here Dialogue: 0,0:15:46.36,0:15:49.55,Default,,0000,0000,0000,,i'm just gonna save the jar found that same folder so this is just in the same Dialogue: 0,0:15:49.55,0:15:53.03,Default,,0000,0000,0000,,folder for my project called names or for that has all of my class files in it Dialogue: 0,0:15:53.03,0:15:55.96,Default,,0000,0000,0000,,you don't put out wherever you want just don't forget where you quit that's kind Dialogue: 0,0:15:55.96,0:15:56.74,Default,,0000,0000,0000,,of the key Dialogue: 0,0:15:56.74,0:15:59.56,Default,,0000,0000,0000,,so this is why i'm going to say that so that's kind of sad Dialogue: 0,0:15:59.56,0:16:02.24,Default,,0000,0000,0000,,up and you don't need to worry about the options down here the options down here Dialogue: 0,0:16:02.24,0:16:03.21,Default,,0000,0000,0000,,just you know Dialogue: 0,0:16:03.21,0:16:06.36,Default,,0000,0000,0000,,they're fine faults that there are Dialogue: 0,0:16:06.36,0:16:08.71,Default,,0000,0000,0000,,then you come here to this point it seems like Dialogue: 0,0:16:08.71,0:16:12.73,Default,,0000,0000,0000,,olney what's going on export file compile errors of compile warnings yet Dialogue: 0,0:16:12.73,0:16:14.85,Default,,0000,0000,0000,,which one export everything we don't care Dialogue: 0,0:16:14.85,0:16:16.54,Default,,0000,0000,0000,,stories click Dialogue: 0,0:16:16.54,0:16:20.59,Default,,0000,0000,0000,,and then we come here this is the most interesting part of the whole thing Dialogue: 0,0:16:20.59,0:16:24.10,Default,,0000,0000,0000,,what we want to do when we actually create this jar file and this is Dialogue: 0,0:16:24.10,0:16:28.02,Default,,0000,0000,0000,,something we only need to do when we have other jar file but the a c ally Dialogue: 0,0:16:28.02,0:16:29.40,Default,,0000,0000,0000,,brief need to worry about Dialogue: 0,0:16:29.40,0:16:32.88,Default,,0000,0000,0000,,wait for what's known as generate a manifest file Dialogue: 0,0:16:32.88,0:16:37.46,Default,,0000,0000,0000,,basically all the manifest file is it's a complicated name manifest in backup Dialogue: 0,0:16:37.46,0:16:39.86,Default,,0000,0000,0000,,investors out forms like all what has been you know it sounds like you're on a Dialogue: 0,0:16:39.86,0:16:42.72,Default,,0000,0000,0000,,boat doesn't like to have the cruise director and i like all words the Dialogue: 0,0:16:42.72,0:16:43.79,Default,,0000,0000,0000,,passenger manifest Dialogue: 0,0:16:43.79,0:16:47.03,Default,,0000,0000,0000,,wrote a column manifested austin emphathize like two month long and then Dialogue: 0,0:16:47.03,0:16:50.28,Default,,0000,0000,0000,,you add one lines when it becomes three lines one Dialogue: 0,0:16:50.28,0:16:53.96,Default,,0000,0000,0000,,it's basically just a little bit of administrative information that's capt Dialogue: 0,0:16:53.96,0:16:55.23,Default,,0000,0000,0000,,around with your jar file Dialogue: 0,0:16:55.23,0:16:58.84,Default,,0000,0000,0000,,so knows all what kinda stuff for you using with this jar file that's really Dialogue: 0,0:16:58.84,0:16:59.58,Default,,0000,0000,0000,,all it is Dialogue: 0,0:16:59.58,0:17:03.06,Default,,0000,0000,0000,,so what we want to do is generate the manifest file we make sure save the Dialogue: 0,0:17:03.06,0:17:06.04,Default,,0000,0000,0000,,manifest in the workspaces check which it should be if you click generate and Dialogue: 0,0:17:06.04,0:17:06.69,Default,,0000,0000,0000,,test file Dialogue: 0,0:17:06.69,0:17:10.28,Default,,0000,0000,0000,,and then you need to specify where you want to save the manifest file Dialogue: 0,0:17:10.28,0:17:13.28,Default,,0000,0000,0000,,and the place i want to say that is basically in the same folder for my name Dialogue: 0,0:17:13.28,0:17:16.56,Default,,0000,0000,0000,,sir for project in the name manifests are usually the name you give it a good Dialogue: 0,0:17:16.56,0:17:17.72,Default,,0000,0000,0000,,browse around if you want to Dialogue: 0,0:17:17.72,0:17:20.75,Default,,0000,0000,0000,,but usually the name you give it is the name of the folder that all your project Dialogue: 0,0:17:20.75,0:17:24.80,Default,,0000,0000,0000,,stuff sent and then the name manifest destiny than actual name Dialogue: 0,0:17:24.80,0:17:26.41,Default,,0000,0000,0000,,answer any questions about that Dialogue: 0,0:17:26.41,0:17:27.30,Default,,0000,0000,0000,,manifest off Dialogue: 0,0:17:27.30,0:17:30.20,Default,,0000,0000,0000,,the other thing you need to do when you're specifying a georgia george just Dialogue: 0,0:17:30.20,0:17:31.93,Default,,0000,0000,0000,,a bunch of classes Dialogue: 0,0:17:31.93,0:17:34.41,Default,,0000,0000,0000,,it needs to know in some sense Dialogue: 0,0:17:34.41,0:17:37.31,Default,,0000,0000,0000,,if someone can that running this chart with you actually you'll see that in Dialogue: 0,0:17:37.31,0:17:38.90,Default,,0000,0000,0000,,fact you can run a jar Dialogue: 0,0:17:38.90,0:17:41.56,Default,,0000,0000,0000,,where should it start which class is the one Dialogue: 0,0:17:41.56,0:17:44.02,Default,,0000,0000,0000,,of which i should call its main Dialogue: 0,0:17:44.02,0:17:48.18,Default,,0000,0000,0000,,and that's what you specify here select the class of the application entry Dialogue: 0,0:17:48.18,0:17:48.91,Default,,0000,0000,0000,,points Dialogue: 0,0:17:48.91,0:17:51.47,Default,,0000,0000,0000,,is kind of a very formal way of saying Dialogue: 0,0:17:51.47,0:17:53.86,Default,,0000,0000,0000,,where should i start running Dialogue: 0,0:17:53.86,0:17:57.75,Default,,0000,0000,0000,,so the place i want to start running is it lists you all of the classes Dialogue: 0,0:17:57.75,0:18:01.08,Default,,0000,0000,0000,,that have a main method for those are all the ones and start running some Dialogue: 0,0:18:01.08,0:18:05.05,Default,,0000,0000,0000,,names are for the only one i click up and so it says the main classes name sir Dialogue: 0,0:18:05.05,0:18:09.30,Default,,0000,0000,0000,,and now there's no more next buttons now i can do is put finish Dialogue: 0,0:18:09.30,0:18:13.64,Default,,0000,0000,0000,,and i just created a juror Dialogue: 0,0:18:13.64,0:18:16.65,Default,,0000,0000,0000,,and you like are you guys got doubleclick doubleclick Dialogue: 0,0:18:16.65,0:18:18.10,Default,,0000,0000,0000,,or not there yet Dialogue: 0,0:18:18.10,0:18:21.43,Default,,0000,0000,0000,,now there's two things that you'll notice if you look over here in the Dialogue: 0,0:18:21.43,0:18:22.51,Default,,0000,0000,0000,,package explorer Dialogue: 0,0:18:22.51,0:18:25.83,Default,,0000,0000,0000,,you'll notice now we have something called a manifest fark is that's why i Dialogue: 0,0:18:25.83,0:18:26.39,Default,,0000,0000,0000,,saved it Dialogue: 0,0:18:26.39,0:18:30.37,Default,,0000,0000,0000,,and i also have names surfer jot dot jar the jar file i just created they were Dialogue: 0,0:18:30.37,0:18:33.33,Default,,0000,0000,0000,,both put in the same folder with my other Dialogue: 0,0:18:33.33,0:18:36.21,Default,,0000,0000,0000,,you know files that's why i want to save them so they have michelle from the Dialogue: 0,0:18:36.21,0:18:39.20,Default,,0000,0000,0000,,package explore now you're the funky things Dialogue: 0,0:18:39.20,0:18:42.79,Default,,0000,0000,0000,,even though we created this manifest in created this jar they don't have quite Dialogue: 0,0:18:42.79,0:18:46.25,Default,,0000,0000,0000,,the right information that we want to what we do is we double click on the Dialogue: 0,0:18:46.25,0:18:47.76,Default,,0000,0000,0000,,manifest file to open it up Dialogue: 0,0:18:47.76,0:18:49.39,Default,,0000,0000,0000,,here's the whole manifest file Dialogue: 0,0:18:49.39,0:18:51.61,Default,,0000,0000,0000,,it's got a version which is one point no Dialogue: 0,0:18:51.61,0:18:55.10,Default,,0000,0000,0000,,and it's not the main class which is named surf why does it know the main Dialogue: 0,0:18:55.10,0:18:57.56,Default,,0000,0000,0000,,classes nameserver Dialogue: 0,0:18:57.56,0:19:01.46,Default,,0000,0000,0000,,cuz i told it right that the application entry point just forward Dialogue: 0,0:19:01.46,0:19:03.69,Default,,0000,0000,0000,,letting me know that i told it Dialogue: 0,0:19:03.69,0:19:05.59,Default,,0000,0000,0000,,that's why the application starts Dialogue: 0,0:19:05.59,0:19:07.63,Default,,0000,0000,0000,,now there's one other thing i need Dialogue: 0,0:19:07.63,0:19:10.11,Default,,0000,0000,0000,,besides ducking for cover one can you get started Dialogue: 0,0:19:10.11,0:19:12.83,Default,,0000,0000,0000,,what i need to do it i need to say hey you know what Dialogue: 0,0:19:12.83,0:19:14.54,Default,,0000,0000,0000,,names are free and i think it's time Dialogue: 0,0:19:14.54,0:19:17.56,Default,,0000,0000,0000,,but you also need to use the a{\u1}c{\u0}l{\u1}u{\u0} libraries and it says Dialogue: 0,0:19:17.56,0:19:20.90,Default,,0000,0000,0000,,how yet you didn't tell me about the same i've written you say well now i'm Dialogue: 0,0:19:20.90,0:19:22.01,Default,,0000,0000,0000,,going to add Dialogue: 0,0:19:22.01,0:19:26.52,Default,,0000,0000,0000,,the coveted third mondale and talked about in the manifest fosamax modify the Dialogue: 0,0:19:26.52,0:19:27.28,Default,,0000,0000,0000,,manifest file Dialogue: 0,0:19:27.28,0:19:30.09,Default,,0000,0000,0000,,at something called the classpath Dialogue: 0,0:19:30.09,0:19:33.59,Default,,0000,0000,0000,,and all of class that is it's actually looks just like this capital c dash Dialogue: 0,0:19:33.59,0:19:34.64,Default,,0000,0000,0000,,capital p Dialogue: 0,0:19:34.64,0:19:37.23,Default,,0000,0000,0000,,classpath just tells basically Dialogue: 0,0:19:37.23,0:19:39.39,Default,,0000,0000,0000,,uh... the application Dialogue: 0,0:19:39.39,0:19:42.98,Default,,0000,0000,0000,,what other stuff for using are there other jar files that you're using and so Dialogue: 0,0:19:42.98,0:19:44.51,Default,,0000,0000,0000,,what you specify here Dialogue: 0,0:19:44.51,0:19:49.42,Default,,0000,0000,0000,,is the name of any jar files that you're going to be using as part of your Dialogue: 0,0:19:49.42,0:19:51.38,Default,,0000,0000,0000,,program separated by space Dialogue: 0,0:19:51.38,0:19:55.19,Default,,0000,0000,0000,,some unease pcm dodge are here is a cm najjar overhear has Dialogue: 0,0:19:55.19,0:19:58.40,Default,,0000,0000,0000,,i'm way you'd be a cm libraries no drawn some jar file Dialogue: 0,0:19:58.40,0:20:02.49,Default,,0000,0000,0000,,and i'm also going to use the jar file i just created name surfer dot jar Dialogue: 0,0:20:02.49,0:20:06.19,Default,,0000,0000,0000,,if i had three or four more jar file that list them on the same line so if Dialogue: 0,0:20:06.19,0:20:08.56,Default,,0000,0000,0000,,you were going to write an application someday where you're like Dialogue: 0,0:20:08.56,0:20:12.53,Default,,0000,0000,0000,,hey i got this drop off my friend here the job by downloaded from the web which Dialogue: 0,0:20:12.53,0:20:14.14,Default,,0000,0000,0000,,i wouldn't encourage you to do Dialogue: 0,0:20:14.14,0:20:16.97,Default,,0000,0000,0000,,and hear the sardar falcon somewhere else his list of all your space in Dialogue: 0,0:20:16.97,0:20:18.12,Default,,0000,0000,0000,,between Dialogue: 0,0:20:18.12,0:20:21.64,Default,,0000,0000,0000,,and then you save the file that's the problem most difficult thing that people Dialogue: 0,0:20:21.64,0:20:24.24,Default,,0000,0000,0000,,forget it saved the fosse save the manifesto Dialogue: 0,0:20:24.24,0:20:27.41,Default,,0000,0000,0000,,and now what exactly do all this Dialogue: 0,0:20:27.41,0:20:30.55,Default,,0000,0000,0000,,created jawahar all over again placard Dialogue: 0,0:20:30.55,0:20:32.46,Default,,0000,0000,0000,,wife it's just like misaddressed Dialogue: 0,0:20:32.46,0:20:33.54,Default,,0000,0000,0000,,here and i was going to work Dialogue: 0,0:20:33.54,0:20:37.16,Default,,0000,0000,0000,,he recommended a little bit different if i'm robin dong a file maneuvering export Dialogue: 0,0:20:37.16,0:20:39.34,Default,,0000,0000,0000,,i'm going to take the advanced ports i'm going to write Dialogue: 0,0:20:39.34,0:20:41.64,Default,,0000,0000,0000,,like on the project name pick export Dialogue: 0,0:20:41.64,0:20:44.85,Default,,0000,0000,0000,,just says that brings up exactly same window Dialogue: 0,0:20:44.85,0:20:46.61,Default,,0000,0000,0000,,i'm going to export a jar file Dialogue: 0,0:20:46.61,0:20:50.10,Default,,0000,0000,0000,,i come over here why do i want to export sorry abt all this crap eunice again Dialogue: 0,0:20:50.10,0:20:53.32,Default,,0000,0000,0000,,what i want to export is not all the stuff i just want to export everything Dialogue: 0,0:20:53.32,0:20:55.38,Default,,0000,0000,0000,,in my default Dialogue: 0,0:20:55.38,0:20:58.53,Default,,0000,0000,0000,,why do i want to say that i want to save it in the same place i had before you Dialogue: 0,0:20:58.53,0:21:00.13,Default,,0000,0000,0000,,might say but now im Dialogue: 0,0:21:00.13,0:21:03.04,Default,,0000,0000,0000,,aren't going to replace the one that already exists Dialogue: 0,0:21:03.04,0:21:07.07,Default,,0000,0000,0000,,i need to replace the one that already exist updated my manifest i need say hey Dialogue: 0,0:21:07.07,0:21:09.01,Default,,0000,0000,0000,,buddy it's not just about you anymore Dialogue: 0,0:21:09.01,0:21:13.93,Default,,0000,0000,0000,,now it also involves a cm judge our like okay okay you can replace the old Dialogue: 0,0:21:13.93,0:21:16.00,Default,,0000,0000,0000,,so i'm going to put it in the uk Dialogue: 0,0:21:16.00,0:21:16.95,Default,,0000,0000,0000,,places before Dialogue: 0,0:21:16.95,0:21:21.69,Default,,0000,0000,0000,,now a quick next here's the thing about export warning export baritone karen Dialogue: 0,0:21:21.69,0:21:22.42,Default,,0000,0000,0000,,export Dialogue: 0,0:21:22.42,0:21:25.48,Default,,0000,0000,0000,,here is the only place where things are different Dialogue: 0,0:21:25.48,0:21:29.26,Default,,0000,0000,0000,,the second time i go through this whole thing i don't want to generate another Dialogue: 0,0:21:29.26,0:21:30.12,Default,,0000,0000,0000,,manifest file Dialogue: 0,0:21:30.12,0:21:33.86,Default,,0000,0000,0000,,cuz i generated a manifest file the first time and then i modified Dialogue: 0,0:21:33.86,0:21:39.08,Default,,0000,0000,0000,,what i want to do is use that modified to manifest file so i say use existing Dialogue: 0,0:21:39.08,0:21:40.51,Default,,0000,0000,0000,,manifest from workspace Dialogue: 0,0:21:40.51,0:21:42.47,Default,,0000,0000,0000,,which is again just a formal way of saying Dialogue: 0,0:21:42.47,0:21:44.98,Default,,0000,0000,0000,,yeah use the manifest part are you there Dialogue: 0,0:21:44.98,0:21:48.08,Default,,0000,0000,0000,,asked me where they manifest on strangely enough if you look Dialogue: 0,0:21:48.08,0:21:52.31,Default,,0000,0000,0000,,this is exactly the same tax this year Dialogue: 0,0:21:52.31,0:21:53.74,Default,,0000,0000,0000,,yang belgrade's it it's like Dialogue: 0,0:21:53.74,0:21:57.56,Default,,0000,0000,0000,,while real broader trapping the suns out everyone singin in the streets Dialogue: 0,0:21:57.56,0:22:00.36,Default,,0000,0000,0000,,that's you know you just say that that's the one you want to use its going to be Dialogue: 0,0:22:00.36,0:22:01.55,Default,,0000,0000,0000,,the same name Dialogue: 0,0:22:01.55,0:22:02.82,Default,,0000,0000,0000,,and now i noticed this Dialogue: 0,0:22:02.82,0:22:05.16,Default,,0000,0000,0000,,which class of the entry point is great out Dialogue: 0,0:22:05.16,0:22:08.72,Default,,0000,0000,0000,,it's great acts like a little bit before your entry point is named surfer Dialogue: 0,0:22:08.72,0:22:12.14,Default,,0000,0000,0000,,that's in the manifest file if that's already in a manifest on using it Dialogue: 0,0:22:12.14,0:22:15.65,Default,,0000,0000,0000,,doesn't need to know what again so it doesn't even like me specified again Dialogue: 0,0:22:15.65,0:22:16.83,Default,,0000,0000,0000,,so you know that's different Dialogue: 0,0:22:16.83,0:22:18.27,Default,,0000,0000,0000,,and then i click finish Dialogue: 0,0:22:18.27,0:22:21.36,Default,,0000,0000,0000,,and give me one last warning you sure you want to over i got last drop on he Dialogue: 0,0:22:21.36,0:22:24.67,Default,,0000,0000,0000,,was your friend he was hanging out with you since the beginning about Dialogue: 0,0:22:24.67,0:22:26.98,Default,,0000,0000,0000,,three minutes ago and i say yes long way Dialogue: 0,0:22:26.98,0:22:30.10,Default,,0000,0000,0000,,we we know each other that long thanks for playing Dialogue: 0,0:22:30.10,0:22:32.65,Default,,0000,0000,0000,,now i've created this drop on your life Dialogue: 0,0:22:32.65,0:22:33.26,Default,,0000,0000,0000,,primary Dialogue: 0,0:22:33.26,0:22:36.01,Default,,0000,0000,0000,,what you do now Dialogue: 0,0:22:36.01,0:22:38.64,Default,,0000,0000,0000,,i come over here and i said Dialogue: 0,0:22:38.64,0:22:41.74,Default,,0000,0000,0000,,or the jar file displayed Dialogue: 0,0:22:41.74,0:22:44.40,Default,,0000,0000,0000,,one thing i can do it the drop by the n_ double click on it Dialogue: 0,0:22:44.40,0:22:46.86,Default,,0000,0000,0000,,and by double click on the jar file Dialogue: 0,0:22:46.86,0:22:49.94,Default,,0000,0000,0000,,it just starts kicking off the names are propagation Dialogue: 0,0:22:49.94,0:22:53.95,Default,,0000,0000,0000,,right i don't need a clips anymore to go and ron and have little run big compile Dialogue: 0,0:22:53.95,0:22:58.68,Default,,0000,0000,0000,,i have a lap haitian unlike our yeah bob how popular it right now bob kind of Dialogue: 0,0:22:58.68,0:23:02.05,Default,,0000,0000,0000,,alfono means on that some other interesting ones are going to be the Dialogue: 0,0:23:02.05,0:23:05.28,Default,,0000,0000,0000,,other night off Dialogue: 0,0:23:05.28,0:23:06.64,Default,,0000,0000,0000,,six after the sixties Dialogue: 0,0:23:06.64,0:23:08.99,Default,,0000,0000,0000,,dawn done deal thanks for playing Dialogue: 0,0:23:08.99,0:23:11.85,Default,,0000,0000,0000,,so can you name your children vermont make a comeback Dialogue: 0,0:23:11.85,0:23:14.64,Default,,0000,0000,0000,,and so he interpret just kinda running here and it's fun it's just a little Dialogue: 0,0:23:14.64,0:23:16.08,Default,,0000,0000,0000,,stand-alone application Dialogue: 0,0:23:16.08,0:23:19.41,Default,,0000,0000,0000,,now if you want to pack it to the sop and send it to a friend of yours what Dialogue: 0,0:23:19.41,0:23:23.33,Default,,0000,0000,0000,,you would actually do he wouldn't just sending surfer about dot jar Dialogue: 0,0:23:23.33,0:23:26.14,Default,,0000,0000,0000,,what you would do is you would say hey you know what i want to do Dialogue: 0,0:23:26.14,0:23:27.70,Default,,0000,0000,0000,,i want to create Dialogue: 0,0:23:27.70,0:23:29.24,Default,,0000,0000,0000,,i'll i'll just do it in here Dialogue: 0,0:23:29.24,0:23:31.15,Default,,0000,0000,0000,,some new folder Dialogue: 0,0:23:31.15,0:23:34.63,Default,,0000,0000,0000,,so i'm going to create some new folder and all call this my programmer whatever Dialogue: 0,0:23:34.63,0:23:37.42,Default,,0000,0000,0000,,you want to call him talking to call it mean surfer again ferreting out for the Dialogue: 0,0:23:37.42,0:23:39.27,Default,,0000,0000,0000,,call mister my program Dialogue: 0,0:23:39.27,0:23:41.31,Default,,0000,0000,0000,,and want to put my program Dialogue: 0,0:23:41.31,0:23:42.20,Default,,0000,0000,0000,,that folder Dialogue: 0,0:23:42.20,0:23:43.53,Default,,0000,0000,0000,,if the jar Dialogue: 0,0:23:43.53,0:23:45.26,Default,,0000,0000,0000,,of my program Dialogue: 0,0:23:45.26,0:23:49.72,Default,,0000,0000,0000,,also going to put in the jar obviously enlai break as i also need that kind of Dialogue: 0,0:23:49.72,0:23:50.24,Default,,0000,0000,0000,,separate Dialogue: 0,0:23:50.24,0:23:54.90,Default,,0000,0000,0000,,and i also need in here and he gave the files like names dot data and not names Dialogue: 0,0:23:54.90,0:23:58.33,Default,,0000,0000,0000,,dash data reading about all the data to get reading on the program starts it's Dialogue: 0,0:23:58.33,0:24:01.24,Default,,0000,0000,0000,,not like magically that's just going to be very down right it's not going to go Dialogue: 0,0:24:01.24,0:24:02.56,Default,,0000,0000,0000,,in try to find out file Dialogue: 0,0:24:02.56,0:24:04.21,Default,,0000,0000,0000,,so i need to put all this stuff here Dialogue: 0,0:24:04.21,0:24:07.18,Default,,0000,0000,0000,,and now this folder or something i could zip up and sent to a friend of mine on Dialogue: 0,0:24:07.18,0:24:09.30,Default,,0000,0000,0000,,my friend get so they would be like all Dialogue: 0,0:24:09.30,0:24:10.66,Default,,0000,0000,0000,,nature provides our Dialogue: 0,0:24:10.66,0:24:12.68,Default,,0000,0000,0000,,and then they go Dialogue: 0,0:24:12.68,0:24:15.95,Default,,0000,0000,0000,,so now you can package up any program that you've written in this class Dialogue: 0,0:24:15.95,0:24:16.98,Default,,0000,0000,0000,,remember to put in maine Dialogue: 0,0:24:16.98,0:24:19.57,Default,,0000,0000,0000,,you got to go through started this to part Dialogue: 0,0:24:19.57,0:24:23.76,Default,,0000,0000,0000,,create the jar exporter process modify the manifest great other jar put it out Dialogue: 0,0:24:23.76,0:24:24.78,Default,,0000,0000,0000,,there again Dialogue: 0,0:24:24.78,0:24:26.03,Default,,0000,0000,0000,,but you're going to go Dialogue: 0,0:24:26.03,0:24:27.73,Default,,0000,0000,0000,,face any questions about that Dialogue: 0,0:24:27.73,0:24:30.55,Default,,0000,0000,0000,,now you can package up in and share with friends Dialogue: 0,0:24:30.55,0:24:33.85,Default,,0000,0000,0000,,now what's even cooler than sharing with friends that you could email stuff too Dialogue: 0,0:24:33.85,0:24:35.86,Default,,0000,0000,0000,,is share with friends on the web Dialogue: 0,0:24:35.86,0:24:39.32,Default,,0000,0000,0000,,as you just have mike you know millions of fans on the web most of the leaders Dialogue: 0,0:24:39.32,0:24:42.01,Default,,0000,0000,0000,,don't know about but they're probably you know in the late hours of the night Dialogue: 0,0:24:42.01,0:24:44.56,Default,,0000,0000,0000,,looking at your web page that exist Dialogue: 0,0:24:44.56,0:24:46.19,Default,,0000,0000,0000,,and you can actually take Dialogue: 0,0:24:46.19,0:24:47.81,Default,,0000,0000,0000,,anne Dialogue: 0,0:24:47.81,0:24:51.02,Default,,0000,0000,0000,,files that you crave your like jar files and make them available in a web browser Dialogue: 0,0:24:51.02,0:24:54.03,Default,,0000,0000,0000,,now there's one other thing i should mention the scandal thing before you Dialogue: 0,0:24:54.03,0:24:55.13,Default,,0000,0000,0000,,send now you go Dialogue: 0,0:24:55.13,0:24:58.71,Default,,0000,0000,0000,,credo messed up and send it off your mom or dad died monday i break our book why Dialogue: 0,0:24:58.71,0:25:00.22,Default,,0000,0000,0000,,it's a good time Dialogue: 0,0:25:00.22,0:25:04.34,Default,,0000,0000,0000,,in order for them to run your job clouds they need to have the java runtime Dialogue: 0,0:25:04.34,0:25:05.47,Default,,0000,0000,0000,,environment install Dialogue: 0,0:25:05.47,0:25:08.60,Default,,0000,0000,0000,,i remember on like the second week of class when we said although it is just Dialogue: 0,0:25:08.60,0:25:10.16,Default,,0000,0000,0000,,one oh six website Dialogue: 0,0:25:10.16,0:25:13.54,Default,,0000,0000,0000,,you need to download eclipse there's a thing called the jr you also need to Dialogue: 0,0:25:13.54,0:25:14.53,Default,,0000,0000,0000,,download Dialogue: 0,0:25:14.53,0:25:15.34,Default,,0000,0000,0000,,if you have a map Dialogue: 0,0:25:15.34,0:25:18.72,Default,,0000,0000,0000,,the jerry in most cases already installed if you have windows it's not Dialogue: 0,0:25:18.72,0:25:19.41,Default,,0000,0000,0000,,installed Dialogue: 0,0:25:19.41,0:25:22.63,Default,,0000,0000,0000,,they need to go and down you can actually sent into the c{\u1}f{\u0}o_ six pages Dialogue: 0,0:25:22.63,0:25:26.61,Default,,0000,0000,0000,,a day download the gary here is a copy of my cannot five Dialogue: 0,0:25:26.61,0:25:28.09,Default,,0000,0000,0000,,go ahead and install it Dialogue: 0,0:25:28.09,0:25:31.12,Default,,0000,0000,0000,,and then they can run your programs because your program can't run if you're Dialogue: 0,0:25:31.12,0:25:33.81,Default,,0000,0000,0000,,poor if the computer doesn't have a job or write it's a bunch of stuff is going Dialogue: 0,0:25:33.81,0:25:35.60,Default,,0000,0000,0000,,to execute java bytecode Dialogue: 0,0:25:35.60,0:25:36.44,Default,,0000,0000,0000,,if you'd like Dialogue: 0,0:25:36.44,0:25:39.11,Default,,0000,0000,0000,,what java bytecode allen told me were java bytecode is Dialogue: 0,0:25:39.11,0:25:41.98,Default,,0000,0000,0000,,i don't know what to do with it and so i won't run into any of the java runtime Dialogue: 0,0:25:41.98,0:25:43.10,Default,,0000,0000,0000,,environment Dialogue: 0,0:25:43.10,0:25:46.64,Default,,0000,0000,0000,,now assuming of johnson's summer have the java runtime environment Dialogue: 0,0:25:46.64,0:25:49.54,Default,,0000,0000,0000,,they could go to take a web page Dialogue: 0,0:25:49.54,0:25:51.79,Default,,0000,0000,0000,,and you might put some page on the web Dialogue: 0,0:25:51.79,0:25:56.23,Default,,0000,0000,0000,,yeah allows you to load your applicant your ap lit is just in web applied Dialogue: 0,0:25:56.23,0:25:57.61,Default,,0000,0000,0000,,version of your program Dialogue: 0,0:25:57.61,0:25:59.33,Default,,0000,0000,0000,,and so here Dialogue: 0,0:25:59.33,0:26:02.43,Default,,0000,0000,0000,,all look it's running inside a web browser right this is of the actual Dialogue: 0,0:26:02.43,0:26:06.74,Default,,0000,0000,0000,,application this is my web browser or cuz i could like from here go to Dialogue: 0,0:26:06.74,0:26:07.19,Default,,0000,0000,0000,,you know Dialogue: 0,0:26:07.19,0:26:09.76,Default,,0000,0000,0000,,i don't know some search engine Dialogue: 0,0:26:09.76,0:26:11.76,Default,,0000,0000,0000,,right i'm sittin in the web browser Dialogue: 0,0:26:11.76,0:26:14.39,Default,,0000,0000,0000,,i'm not just running a regular application Dialogue: 0,0:26:14.39,0:26:18.32,Default,,0000,0000,0000,,on my desktop but this guy's actually running in my web browser Dialogue: 0,0:26:18.32,0:26:20.18,Default,,0000,0000,0000,,how did i make that happen Dialogue: 0,0:26:20.18,0:26:21.46,Default,,0000,0000,0000,,here's how i make it Dialogue: 0,0:26:21.46,0:26:23.73,Default,,0000,0000,0000,,i create a web page Dialogue: 0,0:26:23.73,0:26:27.13,Default,,0000,0000,0000,,if you don't know about age ten on creating web pages Dialogue: 0,0:26:27.13,0:26:29.73,Default,,0000,0000,0000,,unfortunately i can explain that to you and five minutes Dialogue: 0,0:26:29.73,0:26:32.96,Default,,0000,0000,0000,,but what i can show you is basically what this bosnia look like so if you Dialogue: 0,0:26:32.96,0:26:37.03,Default,,0000,0000,0000,,know a little bit of html or you just want to essentially copy and paste this Dialogue: 0,0:26:37.03,0:26:37.70,Default,,0000,0000,0000,,idea Dialogue: 0,0:26:37.70,0:26:38.74,Default,,0000,0000,0000,,this'll work for you Dialogue: 0,0:26:38.74,0:26:42.61,Default,,0000,0000,0000,,so all you do as you say i want to decipher the entire page that generates Dialogue: 0,0:26:42.61,0:26:44.75,Default,,0000,0000,0000,,that allows your applicant run Dialogue: 0,0:26:44.75,0:26:47.99,Default,,0000,0000,0000,,usse this page's html state is all things called pat Dialogue: 0,0:26:47.99,0:26:52.76,Default,,0000,0000,0000,,the name of that page is named surfer an acquittal table on the cradle border Dialogue: 0,0:26:52.76,0:26:55.53,Default,,0000,0000,0000,,around my applications but i want to business Dialogue: 0,0:26:55.53,0:26:59.17,Default,,0000,0000,0000,,what's my application my whole updation is right here Dialogue: 0,0:26:59.17,0:27:00.88,Default,,0000,0000,0000,,i have a catholic Dialogue: 0,0:27:00.88,0:27:02.77,Default,,0000,0000,0000,,what's the name of the archive Dialogue: 0,0:27:02.77,0:27:08.02,Default,,0000,0000,0000,,which is a java archive the contains my applicants name surfer dot jar Dialogue: 0,0:27:08.02,0:27:11.36,Default,,0000,0000,0000,,code is what's the entry point right this time no longer have the manifest Dialogue: 0,0:27:11.36,0:27:14.16,Default,,0000,0000,0000,,file available to it so it does what's my entry point Dialogue: 0,0:27:14.16,0:27:17.61,Default,,0000,0000,0000,,named jeffrey dot class that's where you start running felt that i want to go to Dialogue: 0,0:27:17.61,0:27:20.07,Default,,0000,0000,0000,,nature for dot class fine with me now if i start running Dialogue: 0,0:27:20.07,0:27:23.13,Default,,0000,0000,0000,,and the space i'm going to give you are running on the screen is five hundred Dialogue: 0,0:27:23.13,0:27:24.46,Default,,0000,0000,0000,,seven hundred by five hundred Dialogue: 0,0:27:24.46,0:27:26.18,Default,,0000,0000,0000,,and that little snippet of code Dialogue: 0,0:27:26.18,0:27:30.43,Default,,0000,0000,0000,,is what goes on whatever web surfer this webserver this is sitting on Dialogue: 0,0:27:30.43,0:27:32.24,Default,,0000,0000,0000,,looks for those job clouds Dialogue: 0,0:27:32.24,0:27:35.67,Default,,0000,0000,0000,,slaps them into the page and then someone good to go to running for java Dialogue: 0,0:27:35.67,0:27:38.19,Default,,0000,0000,0000,,program inside of us Dialogue: 0,0:27:38.19,0:27:41.27,Default,,0000,0000,0000,,just wondered how many people know html Dialogue: 0,0:27:41.27,0:27:44.91,Default,,0000,0000,0000,,you folks are over summer some number folks that this might be reasonable Dialogue: 0,0:27:44.91,0:27:47.85,Default,,0000,0000,0000,,thing to do if not you just don't need to worry about it it's not a big deal Dialogue: 0,0:27:47.85,0:27:50.79,Default,,0000,0000,0000,,just send the application your friends Dialogue: 0,0:27:50.79,0:27:53.66,Default,,0000,0000,0000,,the one i can use you know if you create a little webpage Dialogue: 0,0:27:53.66,0:27:57.41,Default,,0000,0000,0000,,is that when something is running on the web page it does not have access to the Dialogue: 0,0:27:57.41,0:27:59.48,Default,,0000,0000,0000,,rest of the files Dialogue: 0,0:27:59.48,0:28:01.38,Default,,0000,0000,0000,,what that means is Dialogue: 0,0:28:01.38,0:28:06.08,Default,,0000,0000,0000,,if i actually happened to be over here notice i have index dot html i have name Dialogue: 0,0:28:06.08,0:28:08.63,Default,,0000,0000,0000,,surfer dodge are not have a cm dot rar Dialogue: 0,0:28:08.63,0:28:11.94,Default,,0000,0000,0000,,what happened to my name's dash datafile Dialogue: 0,0:28:11.94,0:28:13.91,Default,,0000,0000,0000,,yet it doesn't exist Dialogue: 0,0:28:13.91,0:28:17.22,Default,,0000,0000,0000,,why doesn't exist 'cause i couldn't really anyway 'cause once i'm running on Dialogue: 0,0:28:17.22,0:28:20.98,Default,,0000,0000,0000,,the web browser for security reasons it doesn't let you get going to pull stuff Dialogue: 0,0:28:20.98,0:28:22.55,Default,,0000,0000,0000,,out of your files Dialogue: 0,0:28:22.55,0:28:27.27,Default,,0000,0000,0000,,okay 'cause evaded people could you really bad things your computer Dialogue: 0,0:28:27.27,0:28:30.38,Default,,0000,0000,0000,,what you need to do if you're like a mountain where is that data you you Dialogue: 0,0:28:30.38,0:28:33.49,Default,,0000,0000,0000,,minus running show from the web what'd you do Dialogue: 0,0:28:33.49,0:28:35.57,Default,,0000,0000,0000,,yours fears the dirty little secret Dialogue: 0,0:28:35.57,0:28:38.84,Default,,0000,0000,0000,,actually created giant array that had all the data in it Dialogue: 0,0:28:38.84,0:28:40.70,Default,,0000,0000,0000,,and made a part of the program Dialogue: 0,0:28:40.70,0:28:44.12,Default,,0000,0000,0000,,so sometimes you can do stuff like that if you don't want to actually read from Dialogue: 0,0:28:44.12,0:28:44.83,Default,,0000,0000,0000,,a file Dialogue: 0,0:28:44.83,0:28:48.06,Default,,0000,0000,0000,,the other thing you can do is you can take those files and include them in the Dialogue: 0,0:28:48.06,0:28:48.68,Default,,0000,0000,0000,,jar file Dialogue: 0,0:28:48.68,0:28:52.42,Default,,0000,0000,0000,,to the jar copy not only have compiled class in the cars have data files about Dialogue: 0,0:28:52.42,0:28:55.04,Default,,0000,0000,0000,,another way of doing if you want to do it Dialogue: 0,0:28:55.04,0:28:57.70,Default,,0000,0000,0000,,but we just don't have time to talk about the decals those kind of the same Dialogue: 0,0:28:57.70,0:28:58.36,Default,,0000,0000,0000,,process Dialogue: 0,0:28:58.36,0:29:03.15,Default,,0000,0000,0000,,and when you're exporting stuff the dropped by use of something data files Dialogue: 0,0:29:03.15,0:29:04.92,Default,,0000,0000,0000,,so that's clearly executed Dialogue: 0,0:29:04.92,0:29:08.21,Default,,0000,0000,0000,,now i know that we know all this funky stuff about all acts to go back put on a Dialogue: 0,0:29:08.21,0:29:11.66,Default,,0000,0000,0000,,web page if i want to just like you know feel unhappy i'm going to go Dialogue: 0,0:29:11.66,0:29:14.56,Default,,0000,0000,0000,,it's time to come back to our friend Dialogue: 0,0:29:14.56,0:29:17.72,Default,,0000,0000,0000,,standard job as a standard java what kind of allowed us to all you know think Dialogue: 0,0:29:17.72,0:29:20.37,Default,,0000,0000,0000,,about doing to stop as we learned about me Dialogue: 0,0:29:20.37,0:29:24.18,Default,,0000,0000,0000,,and i want to show you a couple examples of program could actually don't use the Dialogue: 0,0:29:24.18,0:29:25.39,Default,,0000,0000,0000,,a{\u1}c{\u0}l{\u1}u{\u0} libraries at all Dialogue: 0,0:29:25.39,0:29:28.45,Default,,0000,0000,0000,,to show you why we use the a c my brisket one thing you might be wondering Dialogue: 0,0:29:28.45,0:29:29.81,Default,,0000,0000,0000,,if Dialogue: 0,0:29:29.81,0:29:33.61,Default,,0000,0000,0000,,why weren't we just doing the standard java thing the whole time Dialogue: 0,0:29:33.61,0:29:35.39,Default,,0000,0000,0000,,and part of the reason is Dialogue: 0,0:29:35.39,0:29:38.71,Default,,0000,0000,0000,,things are just so much easier and cooler when you have the same way myself Dialogue: 0,0:29:38.71,0:29:40.92,Default,,0000,0000,0000,,we go back over to a close Dialogue: 0,0:29:40.92,0:29:44.44,Default,,0000,0000,0000,,we're coming down with names are for an office manifesto Dialogue: 0,0:29:44.44,0:29:48.48,Default,,0000,0000,0000,,here's a program that's written in standard java rights at hello world on Dialogue: 0,0:29:48.48,0:29:49.86,Default,,0000,0000,0000,,the screen Dialogue: 0,0:29:49.86,0:29:52.99,Default,,0000,0000,0000,,this is something you could down in the first class by saying public last hello Dialogue: 0,0:29:52.99,0:29:55.78,Default,,0000,0000,0000,,world extends console program imprint lane Dialogue: 0,0:29:55.78,0:29:58.98,Default,,0000,0000,0000,,hello world out to the screen and you would have gotten it in the consul Dialogue: 0,0:29:58.98,0:30:02.68,Default,,0000,0000,0000,,so what's different here what's different here is we have public last Dialogue: 0,0:30:02.68,0:30:03.77,Default,,0000,0000,0000,,hello world Dialogue: 0,0:30:03.77,0:30:07.32,Default,,0000,0000,0000,,and it doesn't extend anything it doesn't extend program doesn't extend Dialogue: 0,0:30:07.32,0:30:08.33,Default,,0000,0000,0000,,concord program Dialogue: 0,0:30:08.33,0:30:13.17,Default,,0000,0000,0000,,there's no imports for the a c l_ libraries we're not using any defense Dialogue: 0,0:30:13.17,0:30:16.76,Default,,0000,0000,0000,,so we don't have a console program we don't have a nice little consul Dialogue: 0,0:30:16.76,0:30:20.29,Default,,0000,0000,0000,,but we white stuff out to this displays a nice little window Dialogue: 0,0:30:20.29,0:30:24.16,Default,,0000,0000,0000,,while we do have a something called the system output consul and if we want to Dialogue: 0,0:30:24.16,0:30:28.13,Default,,0000,0000,0000,,put stuff on back it looks real seller to what you had before we'd use print Dialogue: 0,0:30:28.13,0:30:31.68,Default,,0000,0000,0000,,land which is why we made the method that you use call prints match theirs Dialogue: 0,0:30:31.68,0:30:36.79,Default,,0000,0000,0000,,but weeks a systemic dot out dot println text one print out Dialogue: 0,0:30:36.79,0:30:39.67,Default,,0000,0000,0000,,again here i have a meaner it might mean that they can have whatever i want and Dialogue: 0,0:30:39.67,0:30:41.65,Default,,0000,0000,0000,,that's just for execution starts Dialogue: 0,0:30:41.65,0:30:43.37,Default,,0000,0000,0000,,so if i compiled list Dialogue: 0,0:30:43.37,0:30:45.02,Default,,0000,0000,0000,,and running Dialogue: 0,0:30:45.02,0:30:47.04,Default,,0000,0000,0000,,let me just compile and run to show you why Dialogue: 0,0:30:47.04,0:30:50.95,Default,,0000,0000,0000,,hello world in kind of this world is not all that cool Dialogue: 0,0:30:50.95,0:30:53.41,Default,,0000,0000,0000,,careful our world Dialogue: 0,0:30:53.41,0:30:54.47,Default,,0000,0000,0000,,it just ran Dialogue: 0,0:30:54.47,0:30:58.85,Default,,0000,0000,0000,,and they're like partner and i don't see anything Dialogue: 0,0:30:58.85,0:31:02.22,Default,,0000,0000,0000,,cuz you don't get a call we know that comes up is like a lower over here i am Dialogue: 0,0:31:02.22,0:31:04.07,Default,,0000,0000,0000,,on this window for a budget act Dialogue: 0,0:31:04.07,0:31:06.45,Default,,0000,0000,0000,,you have what's called the system console Dialogue: 0,0:31:06.45,0:31:10.03,Default,,0000,0000,0000,,the system console like you happen to be using a development in violent like a Dialogue: 0,0:31:10.03,0:31:11.26,Default,,0000,0000,0000,,klutz or something else Dialogue: 0,0:31:11.26,0:31:14.49,Default,,0000,0000,0000,,is basically just a window in that development environment that shows Dialogue: 0,0:31:14.49,0:31:15.81,Default,,0000,0000,0000,,messages that you print out Dialogue: 0,0:31:15.81,0:31:19.33,Default,,0000,0000,0000,,if you happen to be in the bad old days but i think i raised over here where you Dialogue: 0,0:31:19.33,0:31:22.17,Default,,0000,0000,0000,,have command-line text we actually type stuff in Dialogue: 0,0:31:22.17,0:31:25.17,Default,,0000,0000,0000,,because i would just be that same window where the text would appear where you Dialogue: 0,0:31:25.17,0:31:26.18,Default,,0000,0000,0000,,can't Dialogue: 0,0:31:26.18,0:31:29.63,Default,,0000,0000,0000,,so if you don't get it in a separate we know it is not all that will get a lot Dialogue: 0,0:31:29.63,0:31:33.60,Default,,0000,0000,0000,,of times would notify closed anyway so you don't see a Dialogue: 0,0:31:33.60,0:31:37.56,Default,,0000,0000,0000,,now if we want to pick up a notch it's a token on yahoo so wide use the consul Dialogue: 0,0:31:37.56,0:31:41.79,Default,,0000,0000,0000,,one i do something graphical so here's graphical hello world Dialogue: 0,0:31:41.79,0:31:43.60,Default,,0000,0000,0000,,and so what we want to do is Dialogue: 0,0:31:43.60,0:31:45.28,Default,,0000,0000,0000,,we want to create a window Dialogue: 0,0:31:45.28,0:31:48.78,Default,,0000,0000,0000,,a new window that is going to have some title associated with it and we're going Dialogue: 0,0:31:48.78,0:31:51.85,Default,,0000,0000,0000,,to put the text hello world in that window Dialogue: 0,0:31:51.85,0:31:54.93,Default,,0000,0000,0000,,why we need to do what we get worse to excuse respectively Dialogue: 0,0:31:54.93,0:31:57.57,Default,,0000,0000,0000,,we need to create something called a j three in which you never have to worry Dialogue: 0,0:31:57.57,0:31:58.63,Default,,0000,0000,0000,,about before Dialogue: 0,0:31:58.63,0:32:02.36,Default,,0000,0000,0000,,what they gave frame it's actually a frame that's going to pull the window Dialogue: 0,0:32:02.36,0:32:05.30,Default,,0000,0000,0000,,so it's actually one week run we're going to start running rapidshare Dialogue: 0,0:32:05.30,0:32:08.70,Default,,0000,0000,0000,,it's going to create a little window force that we can display stuffing Dialogue: 0,0:32:08.70,0:32:10.19,Default,,0000,0000,0000,,well we're going to put in that window Dialogue: 0,0:32:10.19,0:32:13.10,Default,,0000,0000,0000,,we're going to put a label j labeled you've seen before this is just like Dialogue: 0,0:32:13.10,0:32:14.09,Default,,0000,0000,0000,,you've seen before Dialogue: 0,0:32:14.09,0:32:16.86,Default,,0000,0000,0000,,we're going to create a j label that's called hello world Dialogue: 0,0:32:16.86,0:32:20.39,Default,,0000,0000,0000,,and we want this label to be centered justified as opposed to left just Dialogue: 0,0:32:20.39,0:32:24.05,Default,,0000,0000,0000,,fighter rightist five tiny stage a label dot center to center justified Dialogue: 0,0:32:24.05,0:32:27.66,Default,,0000,0000,0000,,if i don't give a destination it'll by default be left justified looked kind of Dialogue: 0,0:32:27.66,0:32:29.22,Default,,0000,0000,0000,,because one attacker Dialogue: 0,0:32:29.22,0:32:32.03,Default,,0000,0000,0000,,and then i grabbed this label to my frame Dialogue: 0,0:32:32.03,0:32:35.89,Default,,0000,0000,0000,,so similar to the idea cabinet can listen adding stuff to the candice's Dialogue: 0,0:32:35.89,0:32:38.79,Default,,0000,0000,0000,,exactly analogous right we want to make it just as easily when you saw standard Dialogue: 0,0:32:38.79,0:32:39.48,Default,,0000,0000,0000,,java Dialogue: 0,0:32:39.48,0:32:41.23,Default,,0000,0000,0000,,all the same concept applied Dialogue: 0,0:32:41.23,0:32:45.45,Default,,0000,0000,0000,,here were just adding the j label which as you know now is a g component in the Dialogue: 0,0:32:45.45,0:32:46.86,Default,,0000,0000,0000,,big java hierarchy Dialogue: 0,0:32:46.86,0:32:49.65,Default,,0000,0000,0000,,and j components can be added to g{\u1}e{\u0} frames Dialogue: 0,0:32:49.65,0:32:52.49,Default,,0000,0000,0000,,so we have a jail able to get at a twenty three Dialogue: 0,0:32:52.49,0:32:56.04,Default,,0000,0000,0000,,i set aside tragic frame which is five hundred by three hundred that tells me Dialogue: 0,0:32:56.04,0:32:58.22,Default,,0000,0000,0000,,how big the windows going to be when it starts Dialogue: 0,0:32:58.22,0:33:00.86,Default,,0000,0000,0000,,and then there's the other crafty stuff but i need to do that just you would Dialogue: 0,0:33:00.86,0:33:02.00,Default,,0000,0000,0000,,think alike Dialogue: 0,0:33:02.00,0:33:05.36,Default,,0000,0000,0000,,why do i need to do that right it's just doesn't make any sense Dialogue: 0,0:33:05.36,0:33:08.59,Default,,0000,0000,0000,,that i would not otherwise want to have it this way what you're going to do Dialogue: 0,0:33:08.59,0:33:11.88,Default,,0000,0000,0000,,if someone clicks close on the window a little x the top of the screen to close Dialogue: 0,0:33:11.88,0:33:12.48,Default,,0000,0000,0000,,the window Dialogue: 0,0:33:12.48,0:33:13.94,Default,,0000,0000,0000,,i need to say hey Dialogue: 0,0:33:13.94,0:33:17.83,Default,,0000,0000,0000,,if son click that then you need to close yourself otherwise the window by the way Dialogue: 0,0:33:17.83,0:33:19.67,Default,,0000,0000,0000,,the application keeps running Dialogue: 0,0:33:19.67,0:33:23.16,Default,,0000,0000,0000,,which seems odd but we need to have that they're pretty optician stop running Dialogue: 0,0:33:23.16,0:33:24.44,Default,,0000,0000,0000,,and then we think Dialogue: 0,0:33:24.44,0:33:26.58,Default,,0000,0000,0000,,window yeah i know i created u{\u1}n{\u0} everything Dialogue: 0,0:33:26.58,0:33:28.36,Default,,0000,0000,0000,,you need to make yourself visible Dialogue: 0,0:33:28.36,0:33:31.14,Default,,0000,0000,0000,,otherwise no one will be able to see you Dialogue: 0,0:33:31.14,0:33:35.29,Default,,0000,0000,0000,,why when i pray that we know that i was i going to make a visible Dialogue: 0,0:33:35.29,0:33:37.20,Default,,0000,0000,0000,,that's how we use the a c l_ libraries Dialogue: 0,0:33:37.20,0:33:40.38,Default,,0000,0000,0000,,so we need to make sure that this guy visibility is true Dialogue: 0,0:33:40.38,0:33:41.72,Default,,0000,0000,0000,,and appear on this Dialogue: 0,0:33:41.72,0:33:45.09,Default,,0000,0000,0000,,you're a graphical hello so after all the squawk to write Dialogue: 0,0:33:45.09,0:33:50.91,Default,,0000,0000,0000,,yours graphical lovro Dialogue: 0,0:33:50.91,0:33:54.56,Default,,0000,0000,0000,,we do have one and all of that explain to you so that you could get hello world Dialogue: 0,0:33:54.56,0:33:56.46,Default,,0000,0000,0000,,bring your like Dialogue: 0,0:33:56.46,0:33:59.65,Default,,0000,0000,0000,,somewhere in the social now work in a corner need to worry about how the world Dialogue: 0,0:33:59.65,0:34:01.18,Default,,0000,0000,0000,,in the middle of my screen Dialogue: 0,0:34:01.18,0:34:03.13,Default,,0000,0000,0000,,that's cuz you have this new hybrid Dialogue: 0,0:34:03.13,0:34:06.85,Default,,0000,0000,0000,,so like okay let's let's keep it up even one more not shit you know i couple Dialogue: 0,0:34:06.85,0:34:10.03,Default,,0000,0000,0000,,right what are those now stopping interaction like that should be Dialogue: 0,0:34:10.03,0:34:13.83,Default,,0000,0000,0000,,something that maybe you know i get some benefit from having to stand for java so Dialogue: 0,0:34:13.83,0:34:16.04,Default,,0000,0000,0000,,out of interactive version of hello Dialogue: 0,0:34:16.04,0:34:19.22,Default,,0000,0000,0000,,through the interactive version of lalo na some of the stop should begin to get Dialogue: 0,0:34:19.22,0:34:21.59,Default,,0000,0000,0000,,a little bit more Dialogue: 0,0:34:21.59,0:34:24.23,Default,,0000,0000,0000,,repetitive in the sense that you have your main you have your j frame the Dialogue: 0,0:34:24.23,0:34:27.44,Default,,0000,0000,0000,,frame is called interactive flow that's the title of that window Dialogue: 0,0:34:27.44,0:34:29.70,Default,,0000,0000,0000,,what we're going to add to this day play with a new Dialogue: 0,0:34:29.70,0:34:31.98,Default,,0000,0000,0000,,class that we're going to create called a moving label Dialogue: 0,0:34:31.98,0:34:34.53,Default,,0000,0000,0000,,and i'll show you what a moving label doesn't just second but we need to set Dialogue: 0,0:34:34.53,0:34:35.77,Default,,0000,0000,0000,,aside the window Dialogue: 0,0:34:35.77,0:34:39.87,Default,,0000,0000,0000,,again set default close operation exit on clothes Dialogue: 0,0:34:39.87,0:34:43.70,Default,,0000,0000,0000,,and set visibility to true so baseball this does is create this window or Dialogue: 0,0:34:43.70,0:34:44.61,Default,,0000,0000,0000,,particular size Dialogue: 0,0:34:44.61,0:34:48.36,Default,,0000,0000,0000,,and if you add this thing called a moving label to it and moving label just Dialogue: 0,0:34:48.36,0:34:51.33,Default,,0000,0000,0000,,another class i create what's a movie label Dialogue: 0,0:34:51.33,0:34:53.100,Default,,0000,0000,0000,,a moving label is a j component Dialogue: 0,0:34:53.100,0:34:57.35,Default,,0000,0000,0000,,it needs to be a gay component because i want to add a tool for Dialogue: 0,0:34:57.35,0:35:00.78,Default,,0000,0000,0000,,and to display something to frame i what i can only display components knapp Dialogue: 0,0:35:00.78,0:35:02.62,Default,,0000,0000,0000,,brings this can extend component Dialogue: 0,0:35:02.62,0:35:05.31,Default,,0000,0000,0000,,and it's going to implement our friend of mouse listener Dialogue: 0,0:35:05.31,0:35:07.97,Default,,0000,0000,0000,,because it's going to listen for the past year what all i remember mouths Dialogue: 0,0:35:07.97,0:35:11.05,Default,,0000,0000,0000,,listener that's why like the mouse got click and drag at all that stuff sans Dialogue: 0,0:35:11.05,0:35:12.50,Default,,0000,0000,0000,,act the same Dialogue: 0,0:35:12.50,0:35:16.47,Default,,0000,0000,0000,,so i have my construct ojai constructor had to have some starting texas label Dialogue: 0,0:35:16.47,0:35:18.56,Default,,0000,0000,0000,,and starting x and y location Dialogue: 0,0:35:18.56,0:35:20.68,Default,,0000,0000,0000,,thatcher what kind of familiar to you Dialogue: 0,0:35:20.68,0:35:23.67,Default,,0000,0000,0000,,anti based i guess tore off the tax expert yet to like Dialogue: 0,0:35:23.67,0:35:26.19,Default,,0000,0000,0000,,and this guy wants the lesson from out of that Dialogue: 0,0:35:26.19,0:35:29.58,Default,,0000,0000,0000,,so ted adam else listeners and it needs to say Dialogue: 0,0:35:29.58,0:35:31.19,Default,,0000,0000,0000,,if you get some out of that Dialogue: 0,0:35:31.19,0:35:34.79,Default,,0000,0000,0000,,send them to me to send them debits switches Dialogue: 0,0:35:34.79,0:35:37.95,Default,,0000,0000,0000,,so this a little bit different than what you've written in your programs before Dialogue: 0,0:35:37.95,0:35:41.08,Default,,0000,0000,0000,,where you just said you know adam alice was knowing you didn't you just had an Dialogue: 0,0:35:41.08,0:35:46.14,Default,,0000,0000,0000,,open print close pronounced 'cause we kind of poop Dialogue: 0,0:35:46.14,0:35:49.34,Default,,0000,0000,0000,,naturally by things get a little bit funky Dialogue: 0,0:35:49.34,0:35:52.79,Default,,0000,0000,0000,,the difference between this and thinking about having some sort of label that you Dialogue: 0,0:35:52.79,0:35:56.23,Default,,0000,0000,0000,,just display on the campus right some taxes just put up on your canvas and it Dialogue: 0,0:35:56.23,0:35:58.21,Default,,0000,0000,0000,,just sits there and it's fun Dialogue: 0,0:35:58.21,0:36:01.96,Default,,0000,0000,0000,,is that this guy i know i have to worry about what's known as painting itself Dialogue: 0,0:36:01.96,0:36:05.50,Default,,0000,0000,0000,,which means it needs to draw itself on the screen your like but when i have Dialogue: 0,0:36:05.50,0:36:07.70,Default,,0000,0000,0000,,labeled before they just knew how to draw themselves Dialogue: 0,0:36:07.70,0:36:10.62,Default,,0000,0000,0000,,yeah that's because we gave you a label does a little bit smarter knew that it Dialogue: 0,0:36:10.62,0:36:12.43,Default,,0000,0000,0000,,was a label that should rockville Dialogue: 0,0:36:12.43,0:36:15.53,Default,,0000,0000,0000,,this guy needs to be told you're going to draw yourself Dialogue: 0,0:36:15.53,0:36:18.90,Default,,0000,0000,0000,,though that they call paying component that gets called whenever this guy Dialogue: 0,0:36:18.90,0:36:21.75,Default,,0000,0000,0000,,should get displayed on the screen or some other thread that's going to call Dialogue: 0,0:36:21.75,0:36:23.11,Default,,0000,0000,0000,,the for you automatically Dialogue: 0,0:36:23.11,0:36:25.54,Default,,0000,0000,0000,,and it says here is the graphics Dialogue: 0,0:36:25.54,0:36:27.13,Default,,0000,0000,0000,,context in which a dryer self Dialogue: 0,0:36:27.13,0:36:30.31,Default,,0000,0000,0000,,safely within our graphics contact somebody draw some strength Dialogue: 0,0:36:30.31,0:36:33.31,Default,,0000,0000,0000,,and that's a method name everything is not important here i just showed you Dialogue: 0,0:36:33.31,0:36:36.46,Default,,0000,0000,0000,,those extra craft you need to worry about right which is why we didn't want Dialogue: 0,0:36:36.46,0:36:38.27,Default,,0000,0000,0000,,to do all the stuff began Dialogue: 0,0:36:38.27,0:36:41.70,Default,,0000,0000,0000,,now this booking steamy or whatever the mountains clicked i get the new acts Dialogue: 0,0:36:41.70,0:36:42.66,Default,,0000,0000,0000,,wire location Dialogue: 0,0:36:42.66,0:36:44.15,Default,,0000,0000,0000,,and i repeat Dialogue: 0,0:36:44.15,0:36:47.42,Default,,0000,0000,0000,,what is repaint meaning to redraw yourself Dialogue: 0,0:36:47.42,0:36:51.88,Default,,0000,0000,0000,,and i'm going to redraw myself at this new x{\u1}y{\u0} location because when i call Dialogue: 0,0:36:51.88,0:36:52.61,Default,,0000,0000,0000,,repaint Dialogue: 0,0:36:52.61,0:36:55.58,Default,,0000,0000,0000,,someone comes along and says hey to repaint this area Dialogue: 0,0:36:55.58,0:36:59.04,Default,,0000,0000,0000,,i'm going to call dual pane component method so you can read paint yourself Dialogue: 0,0:36:59.04,0:36:59.74,Default,,0000,0000,0000,,you like Dialogue: 0,0:36:59.74,0:37:04.21,Default,,0000,0000,0000,,well this is really we are now in like almost we're here i get a mouse click Dialogue: 0,0:37:04.21,0:37:07.70,Default,,0000,0000,0000,,and i know that i want to drop my sri drama itself but rather than telling Dialogue: 0,0:37:07.70,0:37:09.49,Default,,0000,0000,0000,,myself directly to redraw myself Dialogue: 0,0:37:09.49,0:37:13.28,Default,,0000,0000,0000,,i don't tell the system paid i'll need to get repainted in the systems as Dialogue: 0,0:37:13.28,0:37:13.79,Default,,0000,0000,0000,,possible Dialogue: 0,0:37:13.79,0:37:15.24,Default,,0000,0000,0000,,uh... as the sort of like Dialogue: 0,0:37:15.24,0:37:20.17,Default,,0000,0000,0000,,you know that java high allison arafat happiness are pointed you want to know Dialogue: 0,0:37:20.17,0:37:22.99,Default,,0000,0000,0000,,like you need tear Dialogue: 0,0:37:22.99,0:37:25.14,Default,,0000,0000,0000,,someday if you act like they were anti-war Dialogue: 0,0:37:25.14,0:37:26.27,Default,,0000,0000,0000,,we won't get in Dialogue: 0,0:37:26.27,0:37:28.81,Default,,0000,0000,0000,,units i can breed o{\u1}n{\u0} partner Dialogue: 0,0:37:28.81,0:37:29.83,Default,,0000,0000,0000,,other hot Dialogue: 0,0:37:29.83,0:37:33.14,Default,,0000,0000,0000,,you know i think i need to repay my topic how to fix that those are ok you Dialogue: 0,0:37:33.14,0:37:36.81,Default,,0000,0000,0000,,need repairs are four one i'm ready for you to repeat yourself Dialogue: 0,0:37:36.81,0:37:39.42,Default,,0000,0000,0000,,all call your pain components method Dialogue: 0,0:37:39.42,0:37:41.60,Default,,0000,0000,0000,,until then no no you don't repeat itself Dialogue: 0,0:37:41.60,0:37:44.52,Default,,0000,0000,0000,,and saturday that's other stuff in the system to worry about all yall in there Dialogue: 0,0:37:44.52,0:37:46.40,Default,,0000,0000,0000,,with you you have to get repainted Dialogue: 0,0:37:46.40,0:37:48.87,Default,,0000,0000,0000,,okay now call your pain component you come a long thick Dialogue: 0,0:37:48.87,0:37:52.32,Default,,0000,0000,0000,,all cable nominee promised off the new act violently Dialogue: 0,0:37:52.32,0:37:55.35,Default,,0000,0000,0000,,so kinda convoluted the whole notion of like Dialogue: 0,0:37:55.35,0:37:58.89,Default,,0000,0000,0000,,you're doing something here and you're asking someone else to do something for Dialogue: 0,0:37:58.89,0:38:03.17,Default,,0000,0000,0000,,you and i'm going to call you back to do what you were julian sands Dialogue: 0,0:38:03.17,0:38:06.84,Default,,0000,0000,0000,,now makes a little bit more sounds after we talked about directed at you've seen Dialogue: 0,0:38:06.84,0:38:08.69,Default,,0000,0000,0000,,all the stuff Dialogue: 0,0:38:08.69,0:38:11.31,Default,,0000,0000,0000,,thurday class not so hot Dialogue: 0,0:38:11.31,0:38:14.07,Default,,0000,0000,0000,,so if we were on this Dialogue: 0,0:38:14.07,0:38:16.62,Default,,0000,0000,0000,,this is called up interactive hello Dialogue: 0,0:38:16.62,0:38:20.29,Default,,0000,0000,0000,,base but where does it just brings up the article that sixty s by six a rocks Dialogue: 0,0:38:20.29,0:38:22.67,Default,,0000,0000,0000,,in the middle of the straight and not everytime i click them Dialogue: 0,0:38:22.67,0:38:25.90,Default,,0000,0000,0000,,mouse button right because this is the mouth with the bank over here Dialogue: 0,0:38:25.90,0:38:27.68,Default,,0000,0000,0000,,everytime i click the mouse button Dialogue: 0,0:38:27.68,0:38:31.69,Default,,0000,0000,0000,,the x_ y_ location of the mouse becomes the new base point Dialogue: 0,0:38:31.69,0:38:33.37,Default,,0000,0000,0000,,for the tax they get stronger Dialogue: 0,0:38:33.37,0:38:37.38,Default,,0000,0000,0000,,and so i just moved to rounds Dialogue: 0,0:38:37.38,0:38:39.71,Default,,0000,0000,0000,,any questions about that Dialogue: 0,0:38:39.71,0:38:41.49,Default,,0000,0000,0000,,so there's a standard java Dialogue: 0,0:38:41.49,0:38:45.43,Default,,0000,0000,0000,,you've seen all the concepts in the a c we using the a{\u1}t{\u0}m_ i've read the Dialogue: 0,0:38:45.43,0:38:48.02,Default,,0000,0000,0000,,concepts rather saying the notion of adding things and i should have about Dialogue: 0,0:38:48.02,0:38:51.32,Default,,0000,0000,0000,,seles has not affect the whole mouth listeners concept we just took the Dialogue: 0,0:38:51.32,0:38:55.65,Default,,0000,0000,0000,,standard job ideas and use them sort of in conjunction with used him libraries Dialogue: 0,0:38:55.65,0:38:58.37,Default,,0000,0000,0000,,but there's a lot of things in the a scam i break it just made it so much Dialogue: 0,0:38:58.37,0:39:01.80,Default,,0000,0000,0000,,easier to like for example b graphics contest entries or to write a social Dialogue: 0,0:39:01.80,0:39:05.10,Default,,0000,0000,0000,,network for whatever and say you're welcome to continue using the a{\u1}t{\u0}m_ Dialogue: 0,0:39:05.10,0:39:06.54,Default,,0000,0000,0000,,library dot Dialogue: 0,0:39:06.54,0:39:09.93,Default,,0000,0000,0000,,but some people are wondering wide will use these libraries and this is the Dialogue: 0,0:39:09.93,0:39:13.57,Default,,0000,0000,0000,,reason why there's just a whole lot of propped you'd have to worry about Dialogue: 0,0:39:13.57,0:39:19.53,Default,,0000,0000,0000,,i'm question Dialogue: 0,0:39:19.53,0:39:24.25,Default,,0000,0000,0000,,you'd be use in like you know your favorite word processor like notepad Dialogue: 0,0:39:24.25,0:39:28.23,Default,,0000,0000,0000,,and there's actually some places which i won't you know name but that there is Dialogue: 0,0:39:28.23,0:39:30.99,Default,,0000,0000,0000,,it's actually reasonable that you know that some schools and your first Dialogue: 0,0:39:30.99,0:39:33.75,Default,,0000,0000,0000,,programming class what you do is they say while you need to have like no Dialogue: 0,0:39:33.75,0:39:35.58,Default,,0000,0000,0000,,pattern you need to have some text editor Dialogue: 0,0:39:35.58,0:39:38.66,Default,,0000,0000,0000,,and then we're gonna do command-line stuff you're gonna type in like name Dialogue: 0,0:39:38.66,0:39:42.78,Default,,0000,0000,0000,,surfer names dash data dot textron your program and then everything's gonna be Dialogue: 0,0:39:42.78,0:39:43.84,Default,,0000,0000,0000,,taxed Dialogue: 0,0:39:43.84,0:39:47.97,Default,,0000,0000,0000,,so one thing i want to leave you with now in our final few moments together Dialogue: 0,0:39:47.97,0:39:50.99,Default,,0000,0000,0000,,sort of a notion we were starting to meet next week talk about life after the Dialogue: 0,0:39:50.99,0:39:54.17,Default,,0000,0000,0000,,five had to give you notion that if you want to go on in terms of learning more Dialogue: 0,0:39:54.17,0:39:57.08,Default,,0000,0000,0000,,about java specially standard java Dialogue: 0,0:39:57.08,0:40:00.55,Default,,0000,0000,0000,,we said i just started things off by giving you you know this book which Dialogue: 0,0:40:00.55,0:40:03.87,Default,,0000,0000,0000,,talks all about the cm libraries and this i think is a great book to actually Dialogue: 0,0:40:03.87,0:40:06.21,Default,,0000,0000,0000,,learn everything with a new vcm libraries Dialogue: 0,0:40:06.21,0:40:12.18,Default,,0000,0000,0000,,but if you want to go on worth of other resources you can use Dialogue: 0,0:40:12.18,0:40:15.99,Default,,0000,0000,0000,,that's not pretty if you don't like the java section of any bookstore just would Dialogue: 0,0:40:15.99,0:40:19.60,Default,,0000,0000,0000,,be practiced a while one but i would recommend not that i get my kickbacks Dialogue: 0,0:40:19.60,0:40:22.99,Default,,0000,0000,0000,,restart called learning job a it's actually pretty good time some of the Dialogue: 0,0:40:22.99,0:40:26.80,Default,,0000,0000,0000,,examples just off your actually based on this book it's a little bit Dialogue: 0,0:40:26.80,0:40:29.98,Default,,0000,0000,0000,,that's why we don't use the text book in this class if in fact and we get up did Dialogue: 0,0:40:29.98,0:40:32.04,Default,,0000,0000,0000,,we break two thousand page mark Dialogue: 0,0:40:32.04,0:40:35.64,Default,,0000,0000,0000,,all right so close it so close with the index Dialogue: 0,0:40:35.64,0:40:40.93,Default,,0000,0000,0000,,now in nineteen Dialogue: 0,0:40:40.93,0:40:44.26,Default,,0000,0000,0000,,that some other books that actually the original specification of the java Dialogue: 0,0:40:44.26,0:40:46.81,Default,,0000,0000,0000,,programming language the same older version of the book is this is one that Dialogue: 0,0:40:46.81,0:40:49.07,Default,,0000,0000,0000,,was like a week candidate if you are not the old version Dialogue: 0,0:40:49.07,0:40:52.10,Default,,0000,0000,0000,,i forget which version of acting out a second edition i think now there are Dialogue: 0,0:40:52.10,0:40:53.89,Default,,0000,0000,0000,,like three or four some impact Dialogue: 0,0:40:53.89,0:40:55.48,Default,,0000,0000,0000,,looks a little bit bigger birds actually Dialogue: 0,0:40:55.48,0:40:59.33,Default,,0000,0000,0000,,four books it specifies the language job it's actually very well written as a Dialogue: 0,0:40:59.33,0:41:01.96,Default,,0000,0000,0000,,reference inside of recommend this as well Dialogue: 0,0:41:01.96,0:41:05.12,Default,,0000,0000,0000,,if you're going to like all i want it all Dialogue: 0,0:41:05.12,0:41:06.28,Default,,0000,0000,0000,,the big job Dialogue: 0,0:41:06.28,0:41:07.49,Default,,0000,0000,0000,,is vague Dialogue: 0,0:41:07.49,0:41:10.78,Default,,0000,0000,0000,,i think it might actually crossed the thousand page all yachts like thousand Dialogue: 0,0:41:10.78,0:41:13.72,Default,,0000,0000,0000,,the spirits like twelve hundred Dialogue: 0,0:41:13.72,0:41:16.99,Default,,0000,0000,0000,,and if you really want to get a hard time like but now i'm all about web Dialogue: 0,0:41:16.99,0:41:19.06,Default,,0000,0000,0000,,based java Dialogue: 0,0:41:19.06,0:41:22.81,Default,,0000,0000,0000,,java server programming like everything or do i like a lot of things you don't Dialogue: 0,0:41:22.81,0:41:26.10,Default,,0000,0000,0000,,want to know if whatever they want to know one more Dialogue: 0,0:41:26.10,0:41:28.11,Default,,0000,0000,0000,,and that's just a small set Dialogue: 0,0:41:28.11,0:41:30.96,Default,,0000,0000,0000,,right so they're just a few bucks i'd recommend if you want to go on beyond Dialogue: 0,0:41:30.96,0:41:31.90,Default,,0000,0000,0000,,this class Dialogue: 0,0:41:31.90,0:41:35.46,Default,,0000,0000,0000,,but you can go into any bookstore news get inundated with a ton of stuff but Dialogue: 0,0:41:35.46,0:41:38.74,Default,,0000,0000,0000,,now you have a context for kind of putting all the pieces together because Dialogue: 0,0:41:38.74,0:41:41.28,Default,,0000,0000,0000,,you've seen all the other things that you actually need to know to be able to Dialogue: 0,0:41:41.28,0:41:45.58,Default,,0000,0000,0000,,work with the huge set of tools that job actually Dialogue: 0,0:41:45.58,0:41:49.16,Default,,0000,0000,0000,,so any questions about any of our staff Dialogue: 0,0:41:49.16,0:41:50.43,Default,,0000,0000,0000,,you're going to go Dialogue: 0,0:41:50.43,0:41:53.37,Default,,0000,0000,0000,,alright power to a couple minutes early cuz most the time i like to go a couple Dialogue: 0,0:41:53.37,0:41:54.66,Default,,0000,0000,0000,,minutes late Dialogue: 0,0:41:54.66,0:41:55.22,Default,,0000,0000,0000,,have a good weekend