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

Event Dispatching thread.  RSS feed

 
mini mehta
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the event Dispatching thread and is it different from the main thread.
Why do we need to call swing classes in event dispatching thread?
 
Scott Stanlick
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since Swing is not thread safe, all requests to have code executed against Swing components must go single file through this queue/thread.
Scott
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!