Home arrow static arrow Java Programming [Archive] - Catch Exception in EventDispatch Thread
Warning: Creating default object from empty value in /www/htdocs/w008deb8/wiki/components/com_staticxt/staticxt.php on line 51
Java Programming [Archive] - Catch Exception in EventDispatch Thread
This topic has 16 replies on 2 pages.    « Previous | 1 | 2 |

Posts:20
Registered: 4/16/02
Re: Catch Exception in EventDispatch Thread  
Apr 1, 2004 1:20 AM (reply 15 of 16)



 
Mike,

I'm also facing the same problem, I coldn't udnerstand the reason. Did you get any solution for your problem..? Would you help me out on this..?

Thanks in advance

Reji Joseph

 

Posts:1,995
Registered: 12/10/00
Re: Catch Exception in EventDispatch Thread  
Jun 20, 2004 10:48 PM (reply 16 of 16)



 
Well, as you see this is an year-old thread but I hadn't noticed replies 14, 15 so I will answer them now:

My problems were caused because I used Swing components from outside the EventDispatch thread. I constructed my main frame in the main thread but made it visible before adding all components and some components were added to it after it was realized.

I solved the problem some time after I considered this thread closed and that's why I forgot to post solution:(

wangg3, I didn't know how to register an awt exception handler, thanks for teaching me.

Thanks to all
Mike
 
This topic has 16 replies on 2 pages.    « Previous | 1 | 2 |