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

Link to this comment:

Share to:

All Comments (57)

Sign In or Sign Up now to post a comment!
  • starting with 300000 views and in the end only 50000 !! 5 out of 6 are quiters :)

  • Can anyone help me out? Why do I get an error telling me that the method "showDialog(null, string, Color) is undefined for the type JColorChooser"?

  • @spid3rB4t Make sure you set a value to the color variable that you put in JColorChooser.showDialog(null, "supercool", color);

  • No one Missed the disslike button this time

  • Comment removed

  • Thank u a lot ,bucky!

  • A big thank you bucky!!:)

  • you can make it keep the color that was on the screen before if you exit out of the color chooser by creating a temp color variable and placing it directly about the color chooser call

  • the phone ringing was his girlfriend... there goes another ex to the list haha :)

  • .showDialog doesn't work for me.

  • And... someone is calling me... i am not gona answer.

  • After an hour of trying to firgure out why my program had an error, I finally found that it was because i had my second class extend JPanel instead of JFrame....

  • @xVerbati you saved one hour from my life! :D

  • @MusicRevelance AWESOME

  • @xVerbati holy shit thankyou.

  • @xVerbati THANK YOU.

  • @xVerbati Thanks. You're almost as helpful as Bucky :P

  • Bucky , the Java God... mmwaaahhhh...:*

  • my actionListener isnt working.. it says it cant be resolved to a type what should i do?

  • @TheAngel2ome i imported the wrong thing i did the import java.awt.Event.*; ahh time wasted cuz of that stupid thing

  • Some times I click on my java project instead of the video screen to pause the video lol

  • RIIIING!! Mr. Roberts? You surpassed the number of permitted java tutorials on youtube. Please, communicate with the administration. Regards.

  • Why not put "if(color != null){panel.setBackground(colo­r);}" ?

    That way it stays the same color if you didn't choose one, instead of suddenly turning white.

  • My phone is ringing! But I'm not gonna answer it! ;)

  • YOU CALLED US SUCKERS!!! WHY!!? xD

  • i keep getting an error that tells me actionlistener must implement the inherited abstract method actionPeformed() even though i already did that

  • 3:22 to skip the obvious parts

  • How do you make it so that when you click cancel it just remains on that color?

  • @xImanixXxIrrex he forgot to add a { in one of the bottom lines

  • This keeps giving me an error......

    Even went on the forum and copied the source code, still gave me an error. ~_~

  • @thenewboston 1:36

    it hurts :(

  • fixed

    

  • color = JColorChooser.showDialog(null,­"Pick your color",color); my eclispe dosnt like it it just says error

  • i wonder don't answer the phone call because was making the tutorial or was some other reason??

  • Bucky is a Java god.

  • Fuck, this is complicated. I really need to read the c++ book....-,-

  • @leshkaka Are you trying to tell us that you think Java is C++?

  • lol 1:36 - 1:40 "Although i'm not really sorry... suckers ..." u funny man.

  • @flyaznbonez

    Yea! LMAO :D:D

  • @flyaznbonez hahahaha

  • thank you so much! this really helped me. i was thinking jcolorchoooser was way more complicated than it actually is

  • is it necessary to put the (Color.WHITE) in brackets?

  • @derSchmidi Yes

  • @derSchmidi No, Just try it without brackets and you will see, it ganna work!

  • thx for your hard work in doing tutorials like this... you didn't even answer the phone, what if thats a emmergency? hehehe... TNX BTW

  • what happen is i want to stay with the previous color if i click cancel or close the color chooser box? How do i change it?

  • @hoyun

    IF the color is equal to null  DO NOTHING

    ELSE change the color

    ENDIF

  • thanks for this tutorial.

  • his real name...greg roberts

  • Comment removed

  • hi greg ,

    my name is sam and i would like to request you

    to make me a simple sample chat program if u can, 2 computers or two users chatting on the same network..tnk you very much in advance

  • lol greg hes name is buckey

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