Learn Java Tutorial 1.34- ActionListener and JOptionPane

preview_player
Показать описание
In this Java tutorial we will learn how to add an action to a button. To do this, we need to add an actionlistener to the button. Once we add the action listener, we at the method to actionlistener that we want to perform. Within that method is where we will then create a new window (or an OptionPane) to appear.

Hit us up on G+, facebook, or twitter!

Follow us!
-------------
-------------

------------

Рекомендации по теме
Комментарии
Автор

don't judge the video by the crazy 3 minute intro example - sometimes it's the crazy analogies that help teach and stick in your head. This guy does a great job explaining.

JasonPaulJohnston
Автор

I have seen the videos of bucky roberts on java and his videos draw the most attention in youtube. He is good at explaining basic things but when things become complex he doesnt seem to analyze things in greater details like you do.I am a newbie and I understood the constructor stuff only after i saw your video. Thank you so much for your great effort. May God bless you abundantly.

bishawjitkumardey
Автор

"The baby we left in the corn field..." Weirdest line in a java tutorial ever. Winner!

candyshaffer
Автор

thanks so much, I could not figure out how to implement it without creating a new java class until this video :)

thebuizelclub
Автор

These tutorials are so great that I cant wait to learn it all! You are a very good teacher! You make me enjoy learning Java, which motivates me to learn more! :D

thequickscopingcritic
Автор

hahahaha. I couldn't stop laughing for the first 3 minutes. And I like how at around 1:55 he says, "now if this story sounds kinda familiar". This hardly seems like it would be a familiar situation to people.

doucheNblue
Автор

That farming story helped me understand everything! Awesome!

satanic_rosa
Автор

Great job on all of them. keep up the good work!

chuckwolf
Автор

The way Travis describes things is great haha...

ums
Автор

Thanks a lot for dumbing it down. I understood more now!

Abecedarian-go
Автор

Most of your analogies are pretty awesome and spot on.. this one not so much :P still hilarious and still pretty informative though, great work

FirstLast-eovq
Автор

I av been trying to learn java some three yrs bak but neva understood any thing thanks to you l av hope now

millicentotchere
Автор

Your analogy helped a lot,  thanks.  You're Great

HowardLen
Автор

dude you are hilarious, I appreciate you dumbing it down for people like me lol I understand it though

maccardi
Автор

Great videos, thanks for teaching me about GUI!

amarsinha
Автор

You are awesome. You have helped me so much with GUIs

brotherakuma
Автор

got a question if i use the default constructor on JTextArea (giving it no parameters) the text box is like 1 pixel in width unless i give it some text. I tried using setsize but it didnt seem to work either?

HighMrSai
Автор

If you are using Eclipse and are sick of importing, press Ctrl + Shift + O to import all necessary packages.

kaiok
Автор

Very good tutorial..I love these! Great work...Thanks and Keep going!

haijai
Автор

This story helped simplify the tutorial!

MaximizedNOVA
visit shbcf.ru