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 -

How to connect android app to App engine -

hadoop - Running Map Reduce Job shows error - Mkdirs failed to create /var/folders/ -