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

gcc - MinGW's ld cannot perform PE operations on non PE output file -

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

c# - Search and Add Comment with OpenXML for Word -