Search:

Type: Posts; User: bengregg

Search: Search took 0.07 seconds.

  1. Replies
    7
    Views
    1,844

    Re: Changing Panel Color with a ComboBox

    How do you instantiate an anonymous class?
  2. Replies
    7
    Views
    1,844

    Re: Changing Panel Color with a ComboBox

    Lol so I have no errors now. The only problem is nothing happens when I Choose an option form the Combo Box nothing happens :(


    public class ThreeColorsFrame extends JFrame {
    private JPanel...
  3. Replies
    7
    Views
    1,844

    Re: Changing Panel Color with a ComboBox

    So I'm trying to get the action listener right but I get a ; Expected error at the second to last }. What am I doing wrong?



    public void createComboBox()
    {
    JPanel northPanel = new...
  4. Replies
    7
    Views
    1,844

    Changing Panel Color with a ComboBox

    So I'm working on a program to change the Color of a Panel with a Combo Box.

    So far I have the Panel and the ComboBox with th options. However, when you click the option nothing happens. This is...
Results 1 to 4 of 4