Java Programming Tutorial Episode #1 [w/ subs]



00:00:00 – hey guys in here and i'm going to be
00:00:03 – teaching you on starting making java
00:00:07 – program now you should already have
00:00:10 – Eclipse and Java installed as well as
00:00:13 – the window builder Eclipse marketplace
00:00:16 – add-on so first we're going to do file
00:00:23 – new Java project project your name will
00:00:32 – type in hello world and going to create
00:00:40 – the project real quick
00:00:55 – now we should be able to open
00:00:58 – [Music]
00:01:35 – yes that's not working i'll just create
00:01:38 – a new one
00:01:49 – there we go
00:01:55 – and this one now you shouldn't have
00:02:05 – anything in here and all this is just
00:02:07 – going to be confusing just go ahead and
00:02:09 – close that you want to go up to here
00:02:14 – create a new visual class swing jframe
00:02:17 – you want to have a source folder
00:02:21 – selected you can type in some glue or
00:02:25 – sew for package you can type in hello
00:02:31 – world too so I'll just go ahead and take
00:02:36 – in the world and you can just ignore
00:02:45 – that if you want or you can do what it
00:02:49 – says it doesn't matter and now this
00:02:54 – should pop up oh boy that's a lot of
00:02:57 – stuff don't worry this is the actual
00:03:01 – code of the thing we'll be getting into
00:03:05 – this crawling next video today we're
00:03:09 – just going to be on we're just going to
00:03:16 – be using the window builder so you want
00:03:20 – to click design down here and it should
00:03:23 – say like processing parsing information
00:03:27 – that might take a while in my case it'll
00:03:31 – probably take a bit longer as in a while
00:03:33 – due to the fact that I am also recording
00:03:45 – once that loads up you can go ahead and
00:03:50 – maximize this if you want I'm not going
00:03:53 – to just like this like but in here I
00:03:56 – recommend just go ahead and selecting
00:03:59 – this and putting it there and then you
00:04:04 – want I'll just go ahead and put a jlabel
00:04:07 – pic you're right there new world want to
00:04:19 – make it fit bigger if you if you see the
00:04:21 – dot dot dot like that you won't be able
00:04:23 – to see that in person and you can
00:04:26 – control save and then ctrl f11 and there
00:04:34 – you go hello world now that was a bit
00:04:42 – easy so let's add something let's make
00:04:46 – it interactive and I go ahead and safe
00:04:49 – real quick let's add a button lets it
00:04:53 – right there let's make you flip flop and
00:05:01 – then I'm going to go ahead and scroll
00:05:02 – down to the text and nothing actually
00:05:05 – we'll just say T flip-flop and then I
00:05:13 – can show you the fallen
00:05:18 – font bold 16
00:05:28 – go ahead and make it pretty big nice and
00:05:32 – big like the window of bit smaller
00:05:43 – No
00:05:55 – alright and safe and then what's also at
00:06:00 – a actually let's think I'm pudgy label
00:06:06 – huh hit enter make this bit bigger and
00:06:14 – then here we can scroll down and type in
00:06:17 – lip and lift it was it turn and then
00:06:34 – that's good and then this alright and if
00:06:41 – there's good and then also add another
00:06:47 – jlabel and right on top of it called
00:06:51 – long and then we also want to make that
00:06:58 – go ahead with that centered save then
00:07:05 – here we can do at event handler action
00:07:08 – action performed and for this is just
00:07:16 – going to be really quick and just barely
00:07:20 – going to delve into this
00:07:26 – want to take this drag it up and drag it
00:07:35 – up the love
00:07:48 – right london flip
00:08:05 – and we here we want to type LVL you want
00:08:09 – to type in this thing to move basil not
00:08:13 – that is true sit on the flip one before
00:08:28 – the content above the content pane you
00:08:30 – want to type in LDL flop don't fit
00:08:35 – visible and for this one you want to
00:08:44 – type false go ahead and say son and I'm
00:08:48 – just going to take all the sticks coffee
00:08:50 – and sit above here so it's going to be
00:08:59 – the two different j levels and then the
00:09:01 – G button and then in it we want to say
00:09:07 – if label flop dot is visible equal to 0
00:09:21 – no they all flop done it is simple true
00:09:37 – and LDL and I'm just gonna
00:09:51 – that's ctrl f by the way to bring this
00:09:54 – menu up
00:10:25 – now we want to copy that and the velcro
00:10:29 – backspace true all true and then we
00:10:42 – should be able to do their own thing and
00:10:48 – I guess I messed up
00:10:59 – so L if and then run it and then when
00:11:07 – you click it should say flip-flop
00:11:10 – flip-flop flip-flop sleep well all right
00:11:17 – and to get rid of these areas you want
00:11:20 – to hit ctrl shift and oh all at the same
00:11:23 – time boom click on that
00:11:35 – it's never use who you want to delete
00:11:38 – that see you then this one probably
00:11:43 – going to ask for sterilized no serial
00:11:48 – version so then you just want to hit and
00:11:52 – you know that is there will be no more
00:12:00 – errors and then that's that's that
00:12:04 – you're right flip flop flip flop flip
00:12:11 – flop flip flop flip off and you can just
00:12:16 – close it and if you want to name
00:12:27 – you just do free and don't fit
00:12:48 – or maybe that's title
00:13:09 – yeah so up here now you'll notice it
00:13:12 – says hi and we can change that to Pete
00:13:15 – flip-flop nope on the flip salt in or
00:13:29 – just say that I'm actually going to
00:13:32 – minimize create a new folder can i call
00:13:42 – it into the java fraud check
00:13:55 – and you need to file export Java
00:14:02 – runnable java file rentable jar file
00:14:06 – launch configuration set it to your
00:14:11 – things the hello world Thanks export
00:14:15 – destination desktop youtube Joe projects
00:14:24 – and name it let's say peace lip walk
00:14:33 – that should safe enough a dot jar you
00:14:37 – save finish minimize and if you look in
00:14:42 – here to flip up that jar
00:14:51 – so that's that's your first program it's
00:14:58 – pretty cool we're going to be getting
00:15:00 – into more code related stuffs in next
00:15:06 – time but that's all for now


Video Url:
http://youtu.be/bsnYH11Gd54

Comments

comments