wood burning stoves 2.0*
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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Swing EDT and exceptions