Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

event dispatch thread

 
Lucas Smith
Ranch Hand
Posts: 808
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.

We should create our GUI in EDT. So:



Do I have to create an object inside EDT or just the invocation frame.setVisible(true); is needed?
 
Rob Spoor
Sheriff
Pie
Posts: 20552
57
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's recommended to do all GUI related code on the EDT, including creating your GUI objects.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic