Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Java GUI Lesson 4 | JButton and ActionListener

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
13,146
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 28, 2010

teaching about the jbutton and giving the gui some functionality with the actionlistener interface

  • likes, 1 dislikes

Link to this comment:

Share to:
see all

All Comments (18)

Sign In or Sign Up now to post a comment!
  • Lovin this

  • Can't believe how much bullshit there is around, NOT stating simply how a JTextField works.

    All I've wanted to do for the past week is take a number the user enters, click the button and do something to it.

  • help i kept getting this error message

    Exception in thread "main" java.angNullPointerException at AListener.<nit(AListener.java:­25) at MainListener.main(MainListener­.java:7)

  • @QuickfleX1990 I fixed it.

  • Click = new JButton("Click"); doesn't work for me.

    Variables are named correctly.

  • Get a normal Audio Volume!

  • When I open the program only an empty frame shows up :/ do you know how to solve it? Ive been trying with JTextArea and JTextField for a long time. soo please heelp :(

    Great tutorial though. Im gonna check out your other vids :)

  • It just gives me a red line underneath addActionListener and implements ActionListener with the error "cannot be resolved to a type" help please?

  • Kinda late to tell you, but the audio is extremely low. I'm having a hard time hearing you on max volume. Nice tutorials though, I refer to them all the time!

  • @maraful1 Did you import all the shit?

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more