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

question: why EventDispatcherThread doesn't stop?  RSS feed

 
Jeff Alger
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the followind Swing application stops well and terminates JVM, whet close button on window tool bar pressed.

BUT! if change line
to line

JVM doesn't stop. after close button pressed window dissapears and demon "LabelChangerThread" thread continues working.
the question is why ?
according http://download.oracle.com/javase/1.5.0/docs/api/java/awt/doc-files/AWTThreadIssues.html
There are no AWT events in java EventQueues. during 500ms

 
Jeff Alger
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you in advance!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!