Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to create timed events in java? Urgent for student project

807603Jan 15 2008 — edited Jan 15 2008
Hi all, its my first post so forgive me if it doesn't follow the normal standards!

I'm doing a project which involves creating a game where things appear and disappear on the screen by calling up the relevant methods. Its one step away from being complete but the only problem is that I don't know how to make it so that all the appearing and disappearing happens automatically (via a timer that also terminates the game after 30 seconds of play).

For the moment, I've programmed it so that every time i click on a button, the relevant actions occur.

Please could someone help- I'd remember you forever! I've looked everywhere but i can't find anything.


xxx,
ruthless ruth!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 12 2008
Added on Jan 15 2008
5 comments
269 views