jQuery in Action, 3rd edition
The moose likes Swing / AWT / SWT and the fly likes Getting an InterruptedException after closing Frame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Getting an InterruptedException after closing Frame" Watch "Getting an InterruptedException after closing Frame" New topic
Author

Getting an InterruptedException after closing Frame

budsy remo
Ranch Hand

Joined: Sep 20, 2008
Posts: 103
Iam getting an InterruptedException after closing the frame . Can somebody explain why ?

Here's the code :

budsy remo
Ranch Hand

Joined: Sep 20, 2008
Posts: 103
and how do i remove it ?
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 43399
    
  32
I ran your code unchanged and didn't suffer any Exception. Nor can I see where an InterruptedException would come from; it is usually from a sleeping thread, and you haven't got any sleeping threads.
budsy remo
Ranch Hand

Joined: Sep 20, 2008
Posts: 103
Open the file menu and click on the "close" menuitem and then close the frame . It might show you the exception .
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 20049
    
  30

Why would it? The close menu item does absolutely nothing.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting an InterruptedException after closing Frame
 
It's not a secret anymore!