Thursday, February 12, 2009

In what context should the value of Swing components be updated directly

Question :In what context should the value of Swing components be updated directly?
Answer :Swing components should be updated directly only in the context of callback methods invoked from the event dispatch thread. Any other context is not thread safe?

No comments: