how to refresh frame during thread
basically what im doing is im running a thread which implements a while statement. within this while statement an action is performed and then the thread sleeps for a short period of time before continuing. everything works fine except the frame doesnt refresh until the thread is complete, does anyone have any ideas on how i can update it everytime it sleeps?
here is the code of the thread in case it helps:
thanks in advance, cob
public class autoSlow extends Thread
public void run()
} catch (InterruptedException e)