aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes event dispatch thread Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "event dispatch thread" Watch "event dispatch thread" New topic
Author

event dispatch thread

Lucas Smith
Ranch Hand

Joined: Apr 20, 2009
Posts: 804
    
    1

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?


SCJP6, SCWCD5, OCE:EJBD6.
BLOG: http://leakfromjavaheap.blogspot.com
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19783
    
  20

It's recommended to do all GUI related code on the EDT, including creating your GUI objects.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: event dispatch thread