BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

A little bit annoying.

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Enterprise
View previous topic :: View next topic  
Author Message
Lori M Olson (TeamB)
Guest





PostPosted: Fri Oct 10, 2003 4:48 pm    Post subject: Re: A little bit annoying. Reply with quote



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





PostPosted: Fri Oct 10, 2003 4:48 pm    Post subject: A little bit annoying. Reply with 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
Back to top
Tor Iver Wilhelmsen
Guest





PostPosted: Mon Oct 13, 2003 7:25 am    Post subject: Re: A little bit annoying. Reply with quote



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
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Enterprise All times are GMT
Page 1 of 1

 
 


Powered by phpBB © 2001, 2006 phpBB Group
.