Java Programming Tutorial – 53 – ActionListner

///Java Programming Tutorial – 53 – ActionListner

Java Programming Tutorial – 53 – ActionListner

FavoriteLoadingAdd to favorites

Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –

By |2017-05-06T19:46:07+00:00May 6th, 2017|Java Video Tutorials|49 Comments


  1. Denizhan Soydaş May 6, 2017 at 7:46 pm - Reply

    the most confusing one you did. i watched all of your tutorials and as i can remember you didn’t touch the subject implementing. so it’s confusing for us. :/

  2. SwedishGamer322 May 6, 2017 at 7:46 pm - Reply

    I know this is an old video, but wouldn’t it have been simpler with a switch statement instead of all the if statements?

  3. quenar May 6, 2017 at 7:47 pm - Reply

    Please… don’t SHTRING us! shtring this, shtring that.. it’s STRING… and I know why You say shtring, just please… stop it…

  4. Felipe Infantino May 6, 2017 at 7:49 pm - Reply

    It would be easier if — tuna extends JFrame implements ActionListener to avoid creating anther class , and when adding just write addActionListener(this)

  5. brodo ble May 6, 2017 at 7:49 pm - Reply

    am i the only kid watching these vids

  6. Veikra May 6, 2017 at 7:52 pm - Reply

    how can I have two sets of listeners for two different listview? I heard something about fragment but want a good direction on where to start looking . I have 2 visible listview that needs to be on the same screen at least. Dont want to say on same activity incase thatd be misleading

  7. ZuestTV May 6, 2017 at 7:53 pm - Reply

    for those who are wondering what implements means…i suggest watching interfaces its a very simple concept.

  8. fubleach May 6, 2017 at 7:54 pm - Reply

    Oh my god wtf bro this is my first time listening to your tutorial and I am so frustrated . You dont explain anything until the end and you keep running out of time without getting to the good stuff.

  9. Wolf Pup May 6, 2017 at 7:54 pm - Reply

    "I didn’t write it yet, but WE will." I hope he was referring to him and us, and not him, and more him.  

  10. Thien Nguyen May 6, 2017 at 7:54 pm - Reply

    is impliments similar to how polymorphism work in c++?

  11. abi gambhir May 6, 2017 at 7:54 pm - Reply

    i have written the same as he has…but getting an error in class handleit
    Error msg: …must implement the inherited abstract class.
    heres the code

    private class handleit implements ActionListener{

    void performAction(ActionEvent event){

    String str="";

    str=String.format("field 1: %s", event.getActionCommand());
    else if(event.getSource()==item2)
    str=String.format("field 2: %s", event.getActionCommand());
    else if(event.getSource()==item3)
    str=String.format("field 3: %s", event.getActionCommand());
    else if(event.getSource()==password)
    str=String.format("password is: %s", event.getActionCommand());

    JOptionPane.showMessageDialog(null, str);



  12. Jia Xun Tan May 6, 2017 at 7:55 pm - Reply

    How about making a video about ItemListener?

  13. Luke Warlow May 6, 2017 at 7:56 pm - Reply

    53 tutorials in and you’re still showing bad practice with class names…

  14. Itayush May 6, 2017 at 7:57 pm - Reply

    2016 and this tutorial name still called ActionListner instead of ActionListener.. Bucky we love you 😀

  15. Marouane JOUBIJ May 6, 2017 at 8:02 pm - Reply

    it’s ActionListener not ActionListner; you forgot the e in Listener

  16. sfa7505 May 6, 2017 at 8:05 pm - Reply

    shouldn’t we use extends instead of implements?

  17. Arscimag - مجلة العلوم العربية May 6, 2017 at 8:06 pm - Reply

    fact #34341: you made the same error in the name of the video, listener not listner

  18. Mihir Patwardhan May 6, 2017 at 8:06 pm - Reply

    how do I do the same thing except using a spacebar instead of an enter button -_-
    plz help

  19. Sabya Bhoi May 6, 2017 at 8:06 pm - Reply

    why have you used %s??

  20. spectre42 May 6, 2017 at 8:07 pm - Reply

    we make a schtring variable named schtring and it is an empty schtring ;D

  21. Matthew Maag May 6, 2017 at 8:09 pm - Reply

    It bothers me that he misspelled the title.

  22. Matt R May 6, 2017 at 8:10 pm - Reply

    Pretty much pretty much pretty much pretty much

  23. mor sela May 6, 2017 at 8:10 pm - Reply

    where did we learn about impliments? can i have link to the tutorial?

  24. thesmiths2727 May 6, 2017 at 8:15 pm - Reply

    I feel like am being tutored by Matt Damon. Very nice!

  25. brodo ble May 6, 2017 at 8:16 pm - Reply

    thanks buckey

  26. Gaurav Kumar May 6, 2017 at 8:17 pm - Reply

    Even the title of this tutorial has the same typo 😛

  27. Claire Chiang May 6, 2017 at 8:19 pm - Reply

    Is there a way to check if an actionListener exists in a JComponent?

  28. UltronTz May 6, 2017 at 8:21 pm - Reply

    So i created the private class thehandler, it says the class isnt abstract. Why?

  29. Abdul Wahhab May 6, 2017 at 8:22 pm - Reply

    I’m getting this error? Can Anyone please explain, why I’m getting this error ?

    The method format(String, Object[]) in the type String is not applicable for the arguments (String, String)

  30. Josh Blagden May 6, 2017 at 8:25 pm - Reply

    My program calculates earnings after tax. I’m unable to convert "string" to a double because my main program won’t recognize the variable "string". How can I fix this?

  31. Kyle Abrahams May 6, 2017 at 8:32 pm - Reply

    This tutorial is super complexed.

  32. Moyashi Mugiwara May 6, 2017 at 8:33 pm - Reply

    I love how the title of this tutorial is Java Programming Tutorial – 53 – ActionListner. He doesn’t even correct his title typos anymore lmao. This sums up Bucky so well. Lazy just like in his videos xD.

  33. Shashank Kumar May 6, 2017 at 8:34 pm - Reply

    I am getting error in string.format I did everything correct same as him what to do

  34. Aashir Mustafa May 6, 2017 at 8:36 pm - Reply

    why this program doesn’t get compile??

  35. Eshan Patil May 6, 2017 at 8:37 pm - Reply

    If you are having hard time remembering the syntax just press ctrl+space after creating the class and it will show you the function which is required to be override.

  36. סלזר ורגס הארי May 6, 2017 at 8:38 pm - Reply

    pretty confusing video ever.
    Too much rounds to explain something no too much hard.

  37. Reza Emam May 6, 2017 at 8:39 pm - Reply

    As for tutorials # 52, 53, and 54 I have followed your exact instructions and copied the same exact codes as your tutorials, but when running the whole program I get errors specially on thehandler object as well as the tuna object in the main apple class. Would you please let me know the reason. Could it be a problem with my version of eclipse? or anything else? 

  38. TLMWAFP May 6, 2017 at 8:39 pm - Reply

    I see a lot about these ActionListener things, but what about the other listener classes? (for example, the AncestorListener).

  39. Michelle Hao May 6, 2017 at 8:40 pm - Reply

    is it just me or is listener spelt wrong in the title

  40. Dat Huy Richard Le May 6, 2017 at 8:40 pm - Reply

    I love it he says "the first thing you’re gonna needa do’

  41. Parizi Exchange May 6, 2017 at 8:41 pm - Reply

    this is reaaaaally involved

  42. Djanilson Martins May 6, 2017 at 8:41 pm - Reply

    What does "implements" do?

  43. Shreyas Waghmare May 6, 2017 at 8:42 pm - Reply

    implements or extends? Why?

  44. Gene Mariano May 6, 2017 at 8:42 pm - Reply

    this channel taught me more than my college professor

  45. Hassan Shah May 6, 2017 at 8:42 pm - Reply

    Haha, copy+paste by right-clicking your mouse should be illegal. Great video, though!

  46. MrZezuma May 6, 2017 at 8:43 pm - Reply

    Have a Problem. When I create the new class and fill all in it cannot find the symbols item1, item2 etc. Obviously because they’re not defined in that class but how do I transfer them over?

  47. Solider Armatang May 6, 2017 at 8:43 pm - Reply

    ctrl+space will make wonders, try it out

  48. ali husen May 6, 2017 at 8:44 pm - Reply

    i have an error that i couldn’t correct it 

  49. TARUN KUMAR TELLA May 6, 2017 at 8:44 pm - Reply

    I think instead of creating a new class we can make tuna class implements actionlistener and pass "this" object for addactionlistener method. Is it correct?

Leave A Comment