Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Swing EDT and exceptions

 
Raf Szczypiorski
Ranch Hand
Posts: 383
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic