@Hellrun1 Well, since we're not using any fancy imports and this is a simple list, we use super, if we were to use huge programs such as things like a FPS(First Person Shooter) that take up much space, than yes, you'd use setTitle("title);
Tutorials 63, 69, 72 don't work even though I type the code precisely I am using Windows 7 does this make difference?
I get the error below.
Exception in thread "main" java.lang.Error: Unresolved compilation problems: The method addListSelectionListener(ListSelectionListener) in the type JList is not applicable for the arguments (new ListSelectionListner(){}) ListSelectionListner cannot be resolved to a type
@CaptainThrill Thanks allot for the reply. I did import import:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.*;
The programs don't work! I am guessing that the program can't find the files were the png files are located I'll have to just move on with the other tutorials, until I get to know more.
uve helped pave my career path nucky cant thank you enough.. even though u are getting paid for this u still deserve a thanks because whatever u get paid you should get paid more, revolutionizing teaching.
class apples { public static void main (String args[]) { int tutorial1_views = 825350, tutorial72_views = 25856; double dead; dead = Math.round((100 - ((double)tutorial72_views/(double)tutorial1_views*100))); JOptionPane.showMessageDialog(null,(int)dead + "% of starters diddn't survive from the first tutorial to the 72nd","Impatience kills ambition",JOptionPane.INFORMATION_MESSAGE); }
oh wait, i just noticed some retard disliked this video. Once I get my hands on him... rrrrrrr... OK, but seriously, i'll find you. At least it's one person. Don't worry bucky, we all think your great!
@haudace dont have to, just download Java Api Doc and you can look through it everytime you wanna use a new class. It shows everything like what each class contains and how to use it etc. Another tip, stop the vid half way and try to figure the rest on your own and then compare you will see it will help you memorize it.
why we use super instead of setTitle("Title") at 2:50 ?
Hellrun1 3 weeks ago
Comment removed
ashadow0309 2 weeks ago
@Hellrun1 Well, since we're not using any fancy imports and this is a simple list, we use super, if we were to use huge programs such as things like a FPS(First Person Shooter) that take up much space, than yes, you'd use setTitle("title);
:]
ashadow0309 2 weeks ago
@ashadow0309 ah ok thank you ^^
Hellrun1 2 weeks ago
@Hellrun1 Less to type, I guess since we're lazy ;) and super has color XD
MarkVizcarra 1 week ago in playlist Java (Beginner) Programming Tutorials
@Hellrun1 because it's "cheaper" and shorter.
glampkoo 3 days ago
u rock man ! luv u <3
princekhurana14 1 month ago
JList.getSelectedValues() was deprecated in Java7, a simple replacement is JList.getSelectedValuesList().toArray()
it would be nice if you were to add an annotation there to coment on this.
DarkZeroVenarius 2 months ago in playlist Bucky's Java Tutorial 6
The method getSelectedValues() from the type JList is deprecated... Dammit, updated bucky???
hoddie54 2 months ago
@BBallinManiac You could try to stop making errors :P
BIGJoeAnderson 2 months ago in playlist Java Programming Tutorials
a lot of my coding has the red error mark how do I fix this?
BBallinManiac 2 months ago
@BBallinManiac Be sure to extend JFrame. That was my simple mistake.
robertcasler51 1 month ago
There is an error here. To fix it. Add the following lines:
rList = new JList();
rList.setFixedCellWidth(60);
after:
add(new JScrollPane(lList));
then add:
add(new JScrollPane(rList));
after:
add(moveButton);
usazeez 3 months ago
@usazeez Change the variable names to whatever you named them (rList == rightlist)
usazeez 3 months ago
Tutorials 63, 69, 72 don't work even though I type the code precisely I am using Windows 7 does this make difference?
I get the error below.
Exception in thread "main" java.lang.Error: Unresolved compilation problems: The method addListSelectionListener(ListSelectionListener) in the type JList is not applicable for the arguments (new ListSelectionListner(){}) ListSelectionListner cannot be resolved to a type
Any constructive comments will be appreciated.
Kalydosos 4 months ago
@Kalydosos
Did you import javax.swing.events.*;?
You've got to import both swing.events and awt.events
CaptainThrill 4 months ago
@CaptainThrill Thanks allot for the reply. I did import import:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.*;
The programs don't work! I am guessing that the program can't find the files were the png files are located I'll have to just move on with the other tutorials, until I get to know more.
Kalydosos 4 months ago
@Kalydosos
Hhmmmmm, you're sure you're spelling everything right?
For example, above you've spelled listener as listner, so check your spelling :P
CaptainThrill 4 months ago
EpicMealTime: Java Edition
jordan2172 4 months ago
Why does the array have to be static? I tried it without static and it worked exactly the same.
WhiteShadow1415 4 months ago
uve helped pave my career path nucky cant thank you enough.. even though u are getting paid for this u still deserve a thanks because whatever u get paid you should get paid more, revolutionizing teaching.
OGZxBEEf 5 months ago in playlist Java Programming Tutorials
Comment removed
pimeval789 6 months ago
Comment removed
pimeval789 6 months ago
What a tutorial..
Thanks very much...
SLHimath 6 months ago 2
guys these are tutorial classes so kindly do not use any abusive language!!
Respect Tutorials, Respect Bucky!
ikemefunaikemefuna 7 months ago in playlist Bucky's Java Tutorial 2
BoY= mom, buy me bacon
MoM=Why?
BoY=Cause im a f*ck adict to bacon
TheFedegaza1 7 months ago
import javax.swing.JOptionPane;
class apples { public static void main (String args[]) { int tutorial1_views = 825350, tutorial72_views = 25856; double dead; dead = Math.round((100 - ((double)tutorial72_views/(double)tutorial1_views*100))); JOptionPane.showMessageDialog(null,(int)dead + "% of starters diddn't survive from the first tutorial to the 72nd","Impatience kills ambition",JOptionPane.INFORMATION_MESSAGE); }
}
nWANTED 7 months ago 2
when he said bacon I heard the guy say "Bacon!?" in my head from the 'bacon is good for me' video
seed419 8 months ago in playlist Bucky's Java Tutorial
more bacon lol :P
whitebenji 8 months ago
Bucky will you marry me?
emblaz3 9 months ago
Bucky is the best thing on the whole inter web ;)
b33tr00ts 11 months ago 4
oh wait, i just noticed some retard disliked this video. Once I get my hands on him... rrrrrrr... OK, but seriously, i'll find you. At least it's one person. Don't worry bucky, we all think your great!
theMacBoy11 11 months ago
can't wait to get to the series finale =D
digaum8754 1 year ago 3
i love meat
thanks to bucky
Jozekban 1 year ago
I made a YouTube account just to say how great your tutorials are.
Wearhat4life 1 year ago 113
@Wearhat4life and what a nameXD
DazKins 6 months ago
Same here!
TR7H 4 months ago in playlist Java Programming Tutorials
yay, no dislkes!! bucky you are awesome =]
theMacBoy11 1 year ago 3
ham??????
DUDE!!!!!!!
TheRatiniked 1 year ago 27
@TheRatiniked u muslim?
Alexanderstuve 1 year ago
@Alexanderstuve
Hello stalker :) lol jk
yes I am :)
TheRatiniked 1 year ago
How could you forget Tuna and Apples as foods Bucky :O!!
jordan2172 1 year ago 3
how the hell do you memorize all these codes???
haudace 1 year ago
@haudace ...Practice
MrMelonBread 1 year ago
@haudace same way I feel, lol o_0
kierah16 1 year ago
@haudace dont have to, just download Java Api Doc and you can look through it everytime you wanna use a new class. It shows everything like what each class contains and how to use it etc. Another tip, stop the vid half way and try to figure the rest on your own and then compare you will see it will help you memorize it.
Dagrogames 1 year ago
bucky, Im now one of your fans. Great tutorial
CruelArrancar 1 year ago
lol I ran it, pretty cool so far, just need that right list in the next tut :)
kyle2120 1 year ago
I'm really taken aback! Real ingenuity. Cool man!!!
KananTheGreat 1 year ago
after watching about 10 tutorials so far about gui, i start to get the hang of it, thanks for the tut.
hoyun 2 years ago 2
hmm im only on tut 38 or sumtin and i understood that, damn you must be fucking good lol
crazynoob11 2 years ago
that GUI stands for graphical user interface in case you didn't know.lol
Excalibur159 2 years ago
Great tut! :o :)
also first
YouGotTeaBagged 2 years ago