Joel Mack

Joel Mack

  • NA
  • 13
  • 15.6k

Traffic Light with user defined timeframes.

Mar 2 2011 2:34 PM
I am trying to create a traffic light that collects user inputs to run the lights. I want to use graphics methods to draw the traffic light. The user will enter the number of seconds each light will stay lit. I have a start button to start the light and a stop button to stop the light. The lights will start one after the other and continue to run until the stop button is clicked. I have no clue at where I should begin.

Answers (2)