Search:

Type: Posts; User: thatguy

Search: Search took 0.14 seconds.

  1. Thread: JColorChooser

    by thatguy
    Replies
    8
    Views
    1,393

    [SOLVED] Re: JColorChooser

    Thanks again for all your help.
  2. Thread: JColorChooser

    by thatguy
    Replies
    8
    Views
    1,393

    [SOLVED] Re: JColorChooser

    I really appreciate all your help, thank you.

    but now when I choose a color it doesn't change the color of the circle.



    class AddColor implements ActionListener {
    ...
  3. Thread: JColorChooser

    by thatguy
    Replies
    8
    Views
    1,393

    [SOLVED] Re: JColorChooser

    I agree and that is what I did at first I put the repaint() right after the color change like this





    class AddColor implements ActionListener {
    @Override
    ...
  4. Thread: JColorChooser

    by thatguy
    Replies
    8
    Views
    1,393

    [SOLVED] Re: JColorChooser

    Thank you for the help. but now i'm confused on why this works. I called repaint which calls the paintComponent method but repaint is in the paintComponent method? so how does that work?



    ...
  5. Thread: JColorChooser

    by thatguy
    Replies
    8
    Views
    1,393

    [SOLVED] JColorChooser

    I can't seem to get the circle to change color after the user picks a new color from the JColorChooser. any ideas?




    package bouncer;

    import java.awt.BorderLayout;
    import java.awt.Color;...
Results 1 to 5 of 5