This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes SWT new Threads don't terminated upon disposal? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "SWT new Threads don Watch "SWT new Threads don New topic
Author

SWT new Threads don't terminated upon disposal?

Ivan Jouikov
Ranch Hand

Joined: Jul 22, 2003
Posts: 269
Basically, I have the following piece of code where I create a thread that updates the cursor location in a label every 25 ms. The problem is, the thread doesn't seem to terminate upon exit (since the process stays alive in eclipse). If I launch the thread as daemon, everything is fine, but why won't this work?

 
 
subject: SWT new Threads don't terminated upon disposal?