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

Link to this comment:

Share to:

All Comments (55)

Sign In or Sign Up now to post a comment!
  • why we use super instead of setTitle("Title") at 2:50 ?

  • Comment removed

  • @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 ah ok thank you ^^

  • @Hellrun1 Less to type, I guess since we're lazy ;) and super has color XD

  • @Hellrun1 because it's "cheaper" and shorter.

  • u rock man ! luv u <3

  • 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.

  • The method getSelectedValues() from the type JList is deprecated... Dammit, updated bucky???

  • @BBallinManiac You could try to stop making errors :P

  • a lot of my coding has the red error mark how do I fix this?

  • @BBallinManiac Be sure to extend JFrame. That was my simple mistake.

  • 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 Change the variable names to whatever you named them (rList == rightlist)

  • 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(ListS­electionListener) 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

    Did you import javax.swing.events.*;?

    You've got to import both swing.events and awt.events

  • @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

    Hhmmmmm, you're sure you're spelling everything right?

    For example, above you've spelled listener as listner, so check your spelling :P

  • EpicMealTime: Java Edition

  • Why does the array have to be static? I tried it without static and it worked exactly the same.

  • 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.

  • Comment removed

  • Comment removed

  • What a tutorial..

    Thanks very much...

  • guys these are tutorial classes so kindly do not use any abusive language!!

    Respect Tutorials, Respect Bucky!

  • BoY= mom, buy me bacon

    MoM=Why?

    BoY=Cause im a f*ck adict to bacon

  • 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/(dou­ble)tutorial1_views*100))); JOptionPane.showMessageDialog(­null,(int)dead + "% of starters diddn't survive from the first tutorial to the 72nd","Impatience kills ambition",JOptionPane.INFORMAT­ION_MESSAGE); }

    }

  • when he said bacon I heard the guy say "Bacon!?" in my head from the 'bacon is good for me' video

  • more bacon lol :P

  • Bucky will you marry me?

  • Bucky is the best thing on the whole inter web ;)

  • 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!

  • can't wait to get to the series finale =D

  • i love meat

    thanks to bucky

  • I made a YouTube account just to say how great your tutorials are.

  • @Wearhat4life and what a nameXD

  • Same here!

  • yay, no dislkes!! bucky you are awesome =]

  • ham??????

    DUDE!!!!!!!

  • @TheRatiniked u muslim?

  • @Alexanderstuve

    Hello stalker :) lol jk

    yes I am :)

  • How could you forget Tuna and Apples as foods Bucky :O!!

  • how the hell do you memorize all these codes???

  • @haudace ...Practice

  • @haudace same way I feel, lol o_0

  • @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.

  • bucky, Im now one of your fans. Great tutorial

  • lol I ran it, pretty cool so far, just need that right list in the next tut :)

  • I'm really taken aback! Real ingenuity. Cool man!!!

  • after watching about 10 tutorials so far about gui, i start to get the hang of it, thanks for the tut.

  • hmm im only on tut 38 or sumtin and i understood that, damn you must be fucking good lol

  • that GUI stands for graphical user interface in case you didn't know.lol

  • Great tut! :o :)

    also first

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