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
0
Transkim
Recommended Answers
Jump to PostWell show us what code you've got! Noone's gonna do it for ya.
Jump to PostHi TransKim
Write some code ...get an error and ask us ...we are here for you in that case
But if your teacher ask you to do something and you are simple coming to us to do that.....then we are not here to help you
so come …
Jump to PostBy starting your own thread in the JavaScript forum, maybe?
All 11 Replies
mickinator
0
Junior Poster in Training
staneja
0
Junior Poster in Training
Ezzaral
2,714
Posting Sage
Team Colleague
Featured Poster
TransKim
0
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.