Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

When initial thread will complete

 
Arka Sharma
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi,

Say I have a piece of code as following



Now after going through serveral links like Threads and Swing I came to know that Initial thread will start the main and when components will be drawn Event dispatch thread will start.So as per my example when I am calling f.setVisible at that point Event Dispatch thread should start right ? And after that will initial thread return from main ?

Regards,
Arka
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic