A simple Java Swing GUI application to simulate traffic lights.
- Simulates red, yellow, and green traffic lights.
- Radio buttons to control the lights.
- Uses Java Swing for the GUI.
- Compile the
TrafficLightSimulator.java
file using any Java IDE or the command line.javac TrafficLightSimulator.java