Results 1 to 3 of 3
Thread: Help with Timer Class
- 11-03-2009, 09:05 PM #1
Member
- Join Date
- Nov 2009
- Posts
- 6
- Rep Power
- 0
- 11-03-2009, 09:11 PM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,427
- Blog Entries
- 7
- Rep Power
- 17
You don't want to wait because you'll lock the AWT Event Dispatch thread (the thread that does all the painting and mouse event handling for you). Have a look at a Timer object (read the API documentation) and possibly the SwingUtilities class and its invokeLater( ... ) method.
kind regards,
Jos
- 11-03-2009, 09:13 PM #3
Member
- Join Date
- Sep 2008
- Posts
- 7
- Rep Power
- 0
Similar Threads
-
EJB Timer
By mrjunsy in forum Advanced JavaReplies: 0Last Post: 08-22-2008, 04:09 PM -
EJB Timer
By mrjunsy in forum New To JavaReplies: 0Last Post: 08-04-2008, 06:47 PM -
How to use Timer class to schedule a task to execute once 5 seconds have passed
By Java Tip in forum java.utilReplies: 0Last Post: 06-26-2008, 07:32 PM -
How to cancel an individual timer in spite of canceling whole timer
By Java Tip in forum java.utilReplies: 0Last Post: 04-04-2008, 02:46 PM -
XML parsing with 10sec delay using timer class
By srikanthn in forum XMLReplies: 0Last Post: 02-05-2008, 10:59 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks