aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Swing EDT and exceptions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Swing EDT and exceptions" Watch "Swing EDT and exceptions" New topic
Author

Swing EDT and exceptions

Raf Szczypiorski
Ranch Hand

Joined: Aug 21, 2008
Posts: 383
Hi, I have the following code:

The exception is thrown, and still, the EDT goes on (the frame is 'realised' so a thread for it is created, the application doesn't finish. It just lingers on as a process that has to be killed. How do you go about it? Is there any configuration option to say that any exception finishes the thread?

Raf
 
Don't get me started about those stupid light bulbs.
 
subject: Swing EDT and exceptions