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
Post a Comment