File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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?

Don't get me started about those stupid light bulbs.
subject: Swing EDT and exceptions
Similar Threads
Issues with hiding a panel
Does Swing component initialization have to occur on the EDT?
is that possible fro a thread ???
Swing and Thread nightmare. Please help.
Using JSR-295 beansbinding, where do you bind to?