Your problem is here:
JRadioButton rb1 = new JRadioButton("Set to red!");
JRadioButton rb2 = new JRadioButton("Set to green!");
In your action performed method, you are using the class...
Type: Posts; User: aussiemcgr
Your problem is here:
JRadioButton rb1 = new JRadioButton("Set to red!");
JRadioButton rb2 = new JRadioButton("Set to green!");
In your action performed method, you are using the class...