Hi members,I would like to share knowlege in Java with you.
I have a problem which i request a solution for.
I want to design a GUI in java that displays four roads each having traffic
lights and these traffic lights have four colours(green, orange, and Red).
So I want these traffic lights to change colours every after 10 seconds with green
moving clockwise to all the four roads followed by orange and
finally Red. This code should allow me to click on any these lights and when I do so
the clicked traffic light should light up green all the rest light up red immediately.
TransKim -4 Transkim
mickinator 0 Junior Poster in Training
staneja 0 Junior Poster in Training
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster
TransKim -4 Transkim
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster
naslicer 0 Newbie Poster
masijade 1,351 Industrious Poster Team Colleague Featured Poster
mesfinanegagrie 0 Newbie Poster
masijade 1,351 Industrious Poster Team Colleague Featured Poster
ella_xhin 0 Newbie Poster
masijade 1,351 Industrious Poster Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.