Search:

Type: Posts; User: Ha1luciNate

Search: Search took 0.18 seconds.

  1. Re: Trouble with repainting a traffic light using radio buttons: Any Suggestions?

    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;

    //Credit to Dr.Roberson for ControlCircle2 which was used as the basis for this program.
    //Nate Heels:

    public class...
  2. Re: Trouble with repainting a traffic light using radio buttons: Any Suggestions?

    No kidding, that's why I'm asking. How do I make it so that when I click the button it changes the color. I have all the listeners setup and it draws the lights. Now I just need it to change the...
  3. Trouble with repainting a traffic light using radio buttons: Any Suggestions?

    import javax.swing.*;
    import java.awt.*;
    import java.awt.Graphics;
    import java.awt.event.*;

    public class TrafficLight extends JFrame {

    private NewLabel lights = new NewLabel();

    ...
Results 1 to 3 of 3