Did Java get updated? I Cant for the life of me get 'ActionListener' commands to compile. I re-read my Java texbook and descovered 'ItemListener'. I have to add 'ItemListener', and implement 'ItemListener'. Also istead of "actionPerformed(ActionEvent event)", I have to use "itemStateChanged(ItemEvent event)". Otherwise my program will never compile. I'm just curious why I have to use a different event method?
it says: "EH.thehandler is not abstract and does not override abstact method actionPerfomed(java.awt.event.ActionEvent) in java.awt.event.ActionListener"
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..
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
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...
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
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.
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
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!
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.
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:)
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
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
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
@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.
@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.
This has been flagged as spam show
Did Java get updated? I Cant for the life of me get 'ActionListener' commands to compile. I re-read my Java texbook and descovered 'ItemListener'. I have to add 'ItemListener', and implement 'ItemListener'. Also istead of "actionPerformed(ActionEvent event)", I have to use "itemStateChanged(ItemEvent event)". Otherwise my program will never compile. I'm just curious why I have to use a different event method?
Traceguy 1 day ago
Comment removed
Traceguy 1 day ago
Why don't you capitalize your class names?
Venisor21 2 days ago
Yer setch a gud spelor, yuo evin namde teh vidio rong... (ActionListner) LOL
j/k Nice job.
rafortin 5 days ago
add brains? i eatz BRAAINNZZZ ... great tut bucky!!
xmodrock 2 weeks ago
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?
candyman6898 1 month ago
A class inside a class……CLASSCEPTION :D xD
AreusAstarte 1 month ago in playlist Java Programming Tutorials 2
lets tighthen this thing up a little bit
thats what she said
nymfo12 1 month ago
Classception?
GeekyMe97 1 month ago in playlist Fler videoklipp från thenewboston
Listener* :P
haleemahead 2 months ago in playlist Java Programming Tutorials
like if you like programming and bewbies
Player25223435234235 2 months ago
I cant get mine to work... The keep getting a problem with thehandler class... I typed it perfectly!!
woodgrane24 2 months ago
@woodgrane24 make sure Listener is spelled correctly.
Alavistaven2012 2 months ago
@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?
TheBenStylez 1 month ago
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.
12me91 2 months ago in playlist Java Programming Tutorials
"Classception".
Java is the most interesting programming language I've ever used.
bace1000 3 months ago
@bace1000 NET Framework makes things easier
yandykun 2 months ago
You spelt listener wrong! in the title, and in the code!
KrugoInc 3 months ago in playlist Java Programming Tutorials
3:57 hhaha bucky did l337
debit256 3 months ago
class ButtonHandler implements ActionListener { public void actionPerformed(ActionEvent e) { System.out.println(e.getActionCommand()); } }
you could also do that and add
ButtonHandler handler = new ButtonHandler();
to the main class
MegahomoTron 4 months ago in playlist Java Programming Tutorials
A CLASS INSIDE A CLASS?!?!!?! Dats a lot of students. Gl broski......
codycero1 4 months ago in playlist Java Programming Tutorials
CLASSCEPTION :O
aFreakinNoob 4 months ago in playlist Java Programming Tutorials 3
lol i was annoyed by the misspeling on all the 4 addActionListner lines the whole video.
Xeinnex1 4 months ago 3
all the crap.. thanks bucky..
kyrden11111 4 months ago
A class inside a class!
Classception :D
drgnfire2535 5 months ago 3
thanks for the free tutors its so useful thank you a lot
rabarSoftware 5 months ago
nice! the class within the class inherits all the "CRAP" outside.. \m/
rj0drex047 5 months ago
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 6 months ago 68
@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 1 month ago
@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 3 weeks ago in playlist Java (Beginner) Programming Tutorials
@TheSamLegacy You are amazing, THANK YOU.
spid3rB4t 2 weeks ago in playlist Java (Beginner) Programming Tutorials
@Gizmotrold
I would if I didn't take notes. You should see my desk
iEditEffects 1 month ago in playlist Java Programming Tutorials
@Gizmotrold what hole?
Roger4313 5 days ago in playlist Java (Beginner) Programming Tutorials
A class inside a class? CLASSCEPTION!!!
VazkiFtw 6 months ago 4
classception LOL
I think that's getting a bit old...
YourSovietComrade 6 months ago
3:42 Tuna-ception?
UnearthlyXbox 6 months ago in playlist TheNewBoston - Java Programming
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 6 months ago 8
@IWolfGod I'm a minecrafter and i've been watching all of these, following along, and even taking notes haha
xVerbati 6 months ago
@IWolfGod I think the minecrafters wanted to learn how to code in one 10 minute video.
EntropyVX 1 hour ago
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 6 months ago in playlist JAVA Tutorial (The New Boston)
@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 :)
JTaranus 6 months ago
This has been flagged as spam show
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
nev2s 6 months ago
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
nev2s 6 months ago
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.
darkarlok 6 months ago
anyone else notice he spelled the title wrong lol
lancerator08 6 months ago
@lancerator08
And the methods in his program...
JTaranus 6 months ago
bucky almost ran out of time lolz
TwizzyTheWizzy 6 months ago
a class inside a class...INCEPTION!
dtgonzalez1 6 months ago
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
Ubercool29 6 months ago
2 peoples has no class inside a class
inmortal009 7 months ago
3:45 classception!!
Ganokbcn 7 months ago 5
i think this is the only tut i didn't get so far :(
BSC148 7 months ago
Class inside a class inside a class! CLASS-CEPTION!
zerohourkevin 7 months ago
This vid really separates the men from the boys.
DanLightning 7 months ago 2
@DanLightning and EventListeners from rebels
andreirocks1992 7 months ago in playlist Java Programming Tutorials
This has been flagged as spam show
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.
jefffung07 7 months ago 3
if they clicked "enter" on item1
6:38
RaymundoGabriel 8 months ago
thanks 4 doing ....!!
kanarupanXIII 8 months ago
There is a way better compiler that eclipse. It's called NetBeans.
In m opinion it's a little bit better.
AJspartan 9 months ago
@AJspartan NetBeans (neither Eclipse) aren't compilers...
daGrevis 9 months ago
@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).
Tspider4 8 months ago
"When you build a class inside a class," It's called Inception!
xGiveMeUrLifex 10 months ago 4
@xGiveMeUrLifex We need to go deeper!
Weaverdrone 9 months ago
@xGiveMeUrLifex When you build a class inside a class inside a class, it's Classception.
esTmate 9 months ago 3
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 10 months ago 107
@CyndiSongs170 I agree with you!!!
AlephAriadiate 2 months ago
@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!
Claymore2408 2 months ago in playlist Java Programming Tutorials
much*
rickvangils100 10 months ago
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.
rickvangils100 10 months ago 2
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 10 months ago
@daGrevis Stop whining, just dont use it if you don't like it ;)
cACTIfARM 9 months ago
@cACTIfARM What should I use then?
daGrevis 9 months ago
@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
cACTIfARM 9 months ago
@daGrevis Make a class that changes it.
cwalker107 7 months ago
thnx
MZ9583 10 months ago
anyone have idea how to make cellphone text simulator in java?
excuse98 11 months ago
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:)
marsimil 11 months ago 6
Comment removed
ciken500 11 months ago
During those 10 mins you teach as much as for 4h at my university lectures :)) Big thanks
iMPRE7ed 11 months ago
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 11 months ago
@antinoob6001 That means you need to keep finishing it. It's saying you have to define a method that your implementing.
xXChaosHavokXx 11 months ago
@xXChaosHavokXx well i did indeed finish this script, several times i may add... its still not working
antinoob6001 11 months ago
"A class within a class"
We need to go deeper
jama463 11 months ago 28
@jama463 A class, within a class, within a class? JAVACEPTION.
bansheeflier1015 11 months ago
@jama463 Inception.
SkriBass 3 months ago
@jama463 thats what she said
jaoi247 2 months ago in playlist Java Programming Tutorials
@jama463 "We need to go deeper"
Thats what she said -_-
manomama7 2 months ago
Hi, bucky.. could you please explain the difference between addActionListener and addItemListener? Thanks!
humpsato10 11 months ago
thanks a lot, thenewboston.
you're the best.
harangatang27 1 year ago
you shoould have called it "new chandler"
estario 1 year ago
13 more vids and you have uploaded 1000 videos!
RobloxmannenTV 1 year ago
i was looking at the title thinkine either bucky made a typo or there is a new super confusing method called listner
pointlessABC 1 year ago
ok you lost me at the copy and paste part...
TehGameMaker 1 year ago
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?
felipeyonehara1987 1 year ago
A switch statement be more efficient than multiple else/if statements.
pstap92 1 year ago
I so need to make a german techno remix of TNB saying inherit crap
trappingnoobs 1 year ago
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; }
}
)
sfcviper 1 year ago
you meant "uneditable" of course ;-)
duminicad 1 year ago
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
kieve11 1 year ago
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.
aslef451 1 year ago
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
after731 1 year ago
bucky yaah di bloodclaaat boss.....!!!
aksultra 1 year ago
Comment removed
abovestand 1 year ago
Dude, great job
MrMelonBread 1 year ago
bucky , what java book do you recommend for a beginner to start with?
leonard319 1 year ago
why do i always get an error with the nested if!!!!!!!!! omg!!!!
aninsaneicelander 1 year ago
Professor? That is a worse complement anyone can give to someone.
primetime0104 1 year ago
@primetime0104 that is 'THE WORST' not 'A WORSE' professor primetime :P
SteveSpieldberg360 1 year ago
Man! Things must be getting heavy. My CPU can't keep up. Thanks again bucky! You are Bad Awesome!
Fbiman93 1 year ago
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!!
bmurfy 1 year ago
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.
OverTake69 1 year ago
thats weird i didnt get all the errors you did
optdestruct 1 year ago
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 1 year ago
@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 1 year ago
@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 1 year ago
@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 1 year ago
@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 1 year ago
@ZachIsTech LOL You owned him bad.
mangopearandapples 1 year ago
@ZachIsTech you need to spell properly, to become a programmer.
xlaFax 1 year ago
Why dont we just use a switch statement instead of a BIG if statement?
azureriot 1 year ago
They don't even teach these at school. They just expect everyone to know them! Thank you so much for all of these tutorials!
Ryonni 2 years ago
Professor Bucky
metal4life68 2 years ago 7
question... why didn't you do this
item1.addActionListener(this);?
I think it's simplier and easier than creating a new class.
winshifter 2 years ago
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 2 years ago 157
@altisw5 What Uni do you go to?
7thAttempt 1 year ago
@altisw5 did you get a job? :D
tahiralijan 7 months ago in playlist Java Tutorials
@altisw5 two of your tutors have seen this tutorial and disliked it...
jelleverest 7 months ago 2
@altisw5 "a hell of a lot of money" ??? what university is that?
Knightmetal 7 months ago
u r PRETTY MUCH cuteee..;)
2009UCL 2 years ago
holy crap i'm so lost.
boredspencer 2 years ago
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.
dark13ness 2 years ago 4
thank you for this great series
lennydacrumb 2 years ago 78
@lennydacrumb thanks for watching!
thenewbostonTV 5 months ago in playlist Java Programming Tutorials
2
rewban
Enigmatic
Vagan
Bogzy
FAGS!!!! 8D
MusicBoix 2 years ago
9:31 you typed paswrod
melvintjuh 2 years ago
good man
0rang3Flash 2 years ago 3
This has been flagged as spam show
4th!!!!!
rewban 2 years ago
This has been flagged as spam show
3rddddd
ENIGMATICxFEAR 2 years ago
This has been flagged as spam show
shutup!!! >:( have some respect stop saying first
videojudge54 2 years ago
This has been flagged as spam show
SECOND!! :D
Vagan4 2 years ago