Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

swing components on EDT

jan9999Jun 7 2013 — edited Jun 19 2013
I have to create a bunch of rather heavy (in processing time) JPanels. In order not to block the EDT during the construction of these panels I was wondering what part of the construction/activation/usage HAS to be done on the EDT and what can be prepared in advance on a side thread?

For me construction means, the setLayout, setBorder- kind of stuff.
For me activation means the actual adding to the GUI (f.i. getContentPane.add).
For me usage means the actual filling with dynamic data (f.i. setText).

Thank you in advance.
This post has been answered by kleopatra-JavaNet on Jun 19 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 17 2013
Added on Jun 7 2013
3 comments
3,252 views