Added: 2 years ago
From: thenewboston
Views: 97,452
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (143)

Sign In or Sign Up now to post a comment!
  • Comment removed

  • Why don't you capitalize your class names?

  • Yer setch a gud spelor, yuo evin namde teh vidio rong... (ActionListner) LOL

    j/k Nice job.

  • add brains? i eatz BRAAINNZZZ ... great tut bucky!!

  • How can you get the ActionListener to work for a button so that when you type in a textbox then press the button a OptionPane opens up?

  • A class inside a class……CLASSCEPTION :D xD

  • lets tighthen this thing up a little bit

    thats what she said

    

  • Classception?

  • Listener* :P

  • like if you like programming and bewbies

  • I cant get mine to work... The keep getting a problem with thehandler class... I typed it perfectly!!

  • @woodgrane24 make sure Listener is spelled correctly.

  • @woodgrane24 I get te same problem! s:

    it says: "EH.thehandler is not abstract and does not override abstact method actionPerfomed(java.awt.event.­ActionEvent) in java.awt.event.ActionListener"

    what do?

  • My teacher said we were doing VB because its easy to drag and drop a GUI in. this is almost as easy(to understand anyway) and 10 times as fun.

  • "Classception".

    Java is the most interesting programming language I've ever used.

  • @bace1000 NET Framework makes things easier

  • You spelt listener wrong! in the title, and in the code!

  • 3:57 hhaha bucky did l337

  • class ButtonHandler implements ActionListener { public void actionPerformed(ActionEvent e) { System.out.println(e.getAction­Command()); } }

    you could also do that and add

    ButtonHandler handler = new ButtonHandler();

    to the main class

  • A CLASS INSIDE A CLASS?!?!!?! Dats a lot of students. Gl broski......

  • CLASSCEPTION :O

  • lol i was annoyed by the misspeling on all the 4 addActionListner lines the whole video.

  • all the crap.. thanks bucky..

  • A class inside a class!

    Classception :D

  • thanks for the free tutors its so useful thank you a lot

    

  • nice! the class within the class inherits all the "CRAP" outside.. \m/

  • thumbs up if u understand the hole thing , but will forget how to type it without watching his videos over and over to remind you of how it is scripted :P..

  • @Gizmotrold

    exactly,thats why on university or college they give you exercises on the things u are gonna need,coz it takes some time to get used to it all by yourself and not search for it in the book or the internet....Maybe bucky should have provived some exercise concepts for each of his tutorials,that would rock

  • @DevilOnHog @Gizmotrold Google codingbat. Its a website with simple challenges from beginner to intermediate.

    Its something I like to use to review my skills and knowledge of Java while I go through these videos.

  • @TheSamLegacy You are amazing, THANK YOU.

  • @Gizmotrold

    I would if I didn't take notes. You should see my desk

  • @Gizmotrold what hole?

  • A class inside a class? CLASSCEPTION!!!

  • classception LOL

    I think that's getting a bit old...

  • 3:42 Tuna-ception?

  • Looks like almost every minecrafter is gone :(

    I'm still here! :D

    At the beginning there were like 500000 viewers. Later on only 60000 left.

    Then at tutorial 50: the GUI: again 500000 viewers.

    Now: 60000.

    These people will suck at java, because they don't even know the basics --'

    Bucky, YOU ARE THE BEST! :D

  • @IWolfGod I'm a minecrafter and i've been watching all of these, following along, and even taking notes haha

  • @IWolfGod I think the minecrafters wanted to learn how to code in one 10 minute video.

  • I was trying to make a forms program the other day: you fill it out and it saves the info to a file. What kind of listener do I need to put in so that it take the info in text field and save them to a file or array? I don't feel that the action listener would work here because when you feel out a form you use the cursor to go from one field to another...

  • @DemocraWatch

    You don't really need to do anything when each field is filled out. You could just use one action listener that detects when a "submit" button is pressed, then read the data from the text fields and use an output stream to save it in a file. Google will help :)

  • IT WOULD BE APPRICATED IF U WOULD SHOW AT THE BEGINING OF THIS SET OF CLASSES --WHATEVER U R BUILDING ...I THINK ITS IMPORTANT TO C BEFORE HAND WHERE IS IT GOING*****THX HEAPS

  • at the end of the last program I thought I would try and be smart and make it confirm a password after about 30 mins of fiddling about I gave up then I moved on, and it's the exact thing I was trying to do. The anvil of irony strikes again.

  • anyone else notice he spelled the title wrong lol

  • @lancerator08

    And the methods in his program...

  • bucky almost ran out of time lolz

  • a class inside a class...INCEPTION!

  • Hey I was just wondering where in the program you instructed that press enter was the 'event'. When you pass the ActionEvent object event to actionPerformed is event me pressing enter? Can this be changed just wondering for completeness

  • 2 peoples has no class inside a class

  • 3:45 classception!!

  • i think this is the only tut i didn't get so far :(

  • Class inside a class inside a class! CLASS-CEPTION!

  • This vid really separates the men from the boys.

  • @DanLightning and EventListeners from rebels

  • if they clicked "enter" on item1

    6:38

  • thanks 4 doing ....!!

  • There is a way better compiler that eclipse. It's called NetBeans.

    In m opinion it's a little bit better.

  • @AJspartan NetBeans (neither Eclipse) aren't compilers...

  • @AJspartan

    just use whatever you want, non of them is better, it's just a personal opinion.

    btw, they aren't compilers, they're both using the same compiler (javac).

  • "When you build a class inside a class," It's called Inception!

  • @xGiveMeUrLifex We need to go deeper!

  • @xGiveMeUrLifex When you build a class inside a class inside a class, it's Classception.

  • I want to tell you that you are a lifesaver! I was drowning in a sea of Java and you rescued me! I'm taking online classes this semester because of the birth of my son and I was completely overwhelmed, then I found you! What would I do without you?

    I love the way you explain things in layman's terms and you crack me up, so that makes learning easier too! I'm going to be sending a donation soon because I want to make sure you stay around forever!

    Thanks Bucky! You totally ROCK!

  • @CyndiSongs170 I agree with you!!!

  • @CyndiSongs170 2 days ago I knew fuck all about java, I can relate to you mate this guy saved my ass or I would have failed my Java Module LOL!

  • much*

  • This is so mcuh better to understand, because in this tutorials it feels like you are my personal teacher,, witouth a whole class around me.

  • Why Java? Why? (the same goes to PHP)

    If Java uses camelCase then use camelCase. I can't stand it!

    For example, "actionPerformed". I like it! "ActionEvent"... It must be "actionEvent". Java is case-sensitive and, that's why, I can't type "actionEvent". It's just wrong! If it's camelCased, then all should be camelCased.

    "actionEvent", "printLn" (or, even better, "printLine"), "printFormat"... and so on.

  • @daGrevis Stop whining, just dont use it if you don't like it ;)

  • @cACTIfARM What should I use then?

  • @daGrevis Anything you like, although i suppose that you would get used to the case sensitivity if you just use java and accept it for a while

  • @daGrevis Make a class that changes it.

  • thnx

  • anyone have idea how to make cellphone text simulator in java?

  • Wow Bucky, you really are having problems with spelling 'Listener ' right. First you spelled it wrong in 4 lines of code or so, and now I just got to realize that you missed it in the video's title either...naughty boy, you should've been at school instead of going out with Kelsey lol:)

  • Comment removed

  • During those 10 mins you teach as much as for 4h at my university lectures :)) Big thanks

  • hello bucky, im a big fan. but im in need of help i know your busy but id really apreacheate it, heres my problem: every single time i go through a event handling tutorial, i get an error on my "thehandler" class and it says it must be implemented as an inherite abstract method. i obiously cant continue your tutorial with this error on my hand. plese help and my greatest apoligies if it is somekind of dumb mistake on my part, thanks for helping and i bid you adue. :D

  • @antinoob6001 That means you need to keep finishing it. It's saying you have to define a method that your implementing.

  • @xXChaosHavokXx well i did indeed finish this script, several times i may add... its still not working

  • "A class within a class"

    We need to go deeper

  • @jama463 A class, within a class, within a class? JAVACEPTION.

  • @jama463 Inception.

  • @jama463 thats what she said

  • @jama463 "We need to go deeper"

    Thats what she said -_-

  • Hi, bucky.. could you please explain the difference between addActionListener and addItemListener? Thanks!

  • thanks a lot, thenewboston.

    you're the best.

  • you shoould have called it "new chandler"

  • 13 more vids and you have uploaded 1000 videos!

  • i was looking at the title thinkine either bucky made a typo or there is a new super confusing method called listner

  • ok you lost me at the copy and paste part...

  • Great tutorial, but, i've got an issue that confusing me a little bit.. Let me explain...

    The keyword "Listner" is not wrong? The right syntax is "Listener" in my eclipse!

    .addActionListener

    not

    .addActionListner

    missing "e"

    What a hell is that?

  • A switch statement be more efficient than multiple else/if statements.

  • I so need to make a german techno remix of TNB saying inherit crap

  • how does this(centralized event handler) compared to other methods such as Inner Classes and Anonymous Inner Classes?e.g of anonymous type-

    item1.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent event) { //do something; }

    }

    )

  • you meant "uneditable" of course ;-)

  • good thing im watching your tutorials. my high school CS teacher does not cover anything and his form is completely terrible. given im ahead of this tut, im watching it anyway for the little things

  • i've taken only one semester of java at my high school and im already working on games. im trying to make my own pandemic game with java.

  • yeah winshifter is right, if bucky didn't create another class, he could just throw all the methods into one class and implement something like item.(this) with "this" referring to the current class... i think lol

  • bucky yaah di bloodclaaat boss.....!!!

  • Comment removed

  • Dude, great job

  • bucky , what java book do you recommend for a beginner to start with?

  • why do i always get an error with the nested if!!!!!!!!! omg!!!!

  • Professor? That is a worse complement anyone can give to someone.

  • @primetime0104 that is 'THE WORST' not 'A WORSE' professor primetime :P

  • Man! Things must be getting heavy. My CPU can't keep up. Thanks again bucky! You are Bad Awesome!

  • i can safely say I've learned more in the last week from these tutorials than I've learned in 2 semesters of Java in college!!

  • I feel bad, I have none of that, or anything, but I may be better at java then you.

    Just practice making stuff, it's almost likely that you'll memorize it that way.

  • thats weird i didnt get all the errors you did

  • hi Thanks for java gui lessons !!!!!!

    You can Explain obut Objects in gui pleas.

    my tuters in colleg are stupeddddd!!!

    i nedd help iam tring to biled media plaer in java.

  • @mbrakaz Uh... your in college, but you spell like a four year old? Is this a sign of the Apocalypse? I mean there is a thing that the Youtube developers put in, and it's called spell checker. I mean I don't even understand what you are trying to say?

    On a second note, thanks for the tutorials Bucky, they are truly in-depth and help me a lot more than googling the problem.

  • @outlawguy89 Who said he was in college in America? He could be from another country who may have bad language its not uncommon on youtube.

  • @ZachIsTech I posted that comment 1 month ago... why the hell do you want to start a conversation/argument from a message sent 1 month ago? Get a life man...

  • @outlawguy89 So? it wouldnt have mattered if it had been a year from now all i did was reply to a comment dont freak out.and where does the get a life come from? I'm watching a youtube video and reading comments see your and reply to it explain to me where that means i need to get a life you did it as well.

  • @ZachIsTech LOL You owned him bad.

  • @ZachIsTech you need to spell properly, to become a programmer.

  • Why dont we just use a switch statement instead of a BIG if statement?

  • They don't even teach these at school. They just expect everyone to know them! Thank you so much for all of these tutorials!

  • Professor Bucky

  • question... why didn't you do this

    item1.addActionListener(this);­?

    I think it's simplier and easier than creating a new class.

  • I'm on my final year of my IT degree.....with Java Advance being one of my modules.

    My tutors(at uni) are getting paid a hell of a lot of money and they tutorials are RUBISH.

    Well done for good tutorials.

  • @altisw5 What Uni do you go to?

  • @altisw5 did you get a job? :D

  • @altisw5 two of your tutors have seen this tutorial and disliked it...

  • @altisw5 "a hell of a lot of money" ??? what university is that?

  • u r PRETTY MUCH cuteee..;)

  • holy crap i'm so lost.

  • You make the "Listner" mistake quite a few times. It's even in the title of the video!

    Anyway, great tutorials man, keep it up.

  • thank you for this great series

  • @lennydacrumb thanks for watching!

  • 2

    rewban

    Enigmatic

    Vagan

    Bogzy

    FAGS!!!! 8D

  • 9:31 you typed paswrod

  • good man

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