|
Replies:
0
|
|
|
|
|
|
|
Warning about accessing Swing or AWT objects from inside a commit
Posted:
Jun 29, 2009 2:08 PM
|
|
|
If you are a Wonderland 0.5 developer who uses the App Base, you should be aware that if you try to access a Swing or AWT object from inside a Processor commit method or an EventListener commitEvent method, a deadlock can result. For example, if you try to make a WindowSwing visible from inside a commitEvent or even create an AWT mouse event, the client can deadlock.
To avoid this, you should use SwingUtilities.invokeLater to invoke the Swing or AWT object access off the render thread.
This will eventually be documented in the Wonderland 0.5 Swing Developer's guide.
|
|
|
|