Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting an InterruptedException after closing Frame  RSS feed

 
budsy remo
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Iam getting an InterruptedException after closing the frame . Can somebody explain why ?

Here's the code :

 
budsy remo
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
and how do i remove it ?
 
Campbell Ritchie
Sheriff
Posts: 55324
157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Open the file menu and click on the "close" menuitem and then close the frame . It might show you the exception .
 
Rob Spoor
Sheriff
Posts: 21047
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why would it? The close menu item does absolutely nothing.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!