File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes thread animation problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "thread animation problem" Watch "thread animation problem" New topic

thread animation problem

Chris Brat
Ranch Hand

Joined: May 22, 2003
Posts: 108
I've created

Chris Brat
Ranch Hand

Joined: May 22, 2003
Posts: 108
That wasnt supposed to happen.
I've created a dialog that displays a status bar that is updated by a thread every 100 ms.
Its just to show the user a msg (that is updated everytime the thread executes).
This does work but the screen doesnt update immediately, and by the time the entire dialog is loaded the operation is on its last stage anyway, so it isn't performing its function.
Is there anyway that i can force the screen to be displayed in its entirety before other operations continue... or to actually check that all the components of the dialog (and the dialog) are visible and shown correctly?
something like
boolean status = myDialog.isDialogAndSubComponentsFinshed();

I agree. Here's the link:
subject: thread animation problem
It's not a secret anymore!