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

java - BeanIO write annotated class to fixedlength -

Using Java 8 lambdas/transformations to combine and flatten two Maps -

How to connect android app to App engine -