java - How to make a Timer that waits one second & then continues on with program? -


how create timer compatible in jfrane/jpanel oriented program waits 1 second, , continues on rest of code?

i not want use thread.sleep(); since causing problems me.

for kind of tasks can use javax.swing.timer. integrates event dispatching thread (edt).


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -