MultiThreading and Java components
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Kirill_Kuzmenko
Posted On:   Tuesday, August 5, 2003 03:26 PM

I have 2 threads. In the first thread I start JFrame with button.
In the button on click event handler, i started second thread. First thread waits for notifing from the second thread. In this thread next JFrame is drawn. But on the second JFrame is drawn only border and gray background, but all content of this Frame isn't drawn and it is blocked.

If I start second thread not in event handler, but in constructor of the first JFrame, second JFrame is painted completely.

Why this can be?

Sorry for my bad English.

About | Sitemap | Contact