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!

java swing and threading issue

679470Nov 24 2006 — edited Nov 24 2006
i am trying to update swing components from some thread. at my first try, i noticed this was a disaster. upon further research, i found out about the single-threaded model of swing events (i.e. event dispatching thread).

i did more research and could NOT find a good example on how to update swing components from other threads. many examples were showing too much.

can someone post a simple example on here? i just want to see how to properly update a swing component from a non-swing class using threading.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 22 2006
Added on Nov 24 2006
2 comments
55 views