 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Lori M Olson (TeamB) Guest
|
Posted: Fri Oct 10, 2003 4:48 pm Post subject: Re: A little bit annoying. |
|
|
Hans Bijvoet wrote:
| Quote: | For a proces what takes some time I want to display a message
something like: operation in progress...
I want to display this message in a JdbStatusLabel.
The problem I cannot solve is how to immediate display this message.
The displaying of this message gets not enough priority to display,
only at the end of the operation.
Who knows the solution of this problem.
Greeting, Hans
|
You should check out the Swing Tutorial on Sun's Developer website, and
investigate the usage of SwingUtilities.invokeLater()
--
Regards,
Lori Olson (TeamB)
------------
Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.
Google Advanced Newsgroup Search
http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html
|
|
| Back to top |
|
 |
Hans Bijvoet Guest
|
Posted: Fri Oct 10, 2003 4:48 pm Post subject: A little bit annoying. |
|
|
For a proces what takes some time I want to display a message
something like: operation in progress...
I want to display this message in a JdbStatusLabel.
The problem I cannot solve is how to immediate display this message.
The displaying of this message gets not enough priority to display,
only at the end of the operation.
Who knows the solution of this problem.
Greeting, Hans
|
|
| Back to top |
|
 |
Tor Iver Wilhelmsen Guest
|
Posted: Mon Oct 13, 2003 7:25 am Post subject: Re: A little bit annoying. |
|
|
Hans Bijvoet <j.j.bijvoet (AT) hccnet (DOT) nl> writes:
| Quote: | The problem I cannot solve is how to immediate display this message.
The displaying of this message gets not enough priority to display,
only at the end of the operation.
|
Move the operation to a different thread than the event thread, or use
SwingUtilities.invokeAndWait().
|
|
| Back to top |
|
 |
Powered by phpBB © 2001, 2006 phpBB Group .
|