wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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: 38075
    
  22
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: 19656
    
  18

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


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 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
 
Similar Threads
what is wrong in the code?
JMenuItem.setMargin
How to get JTextArea to show input as it is being added?
Event Handler for current menu selection.
Saving table data and using agen - JTable