diff options
author | Kenneth Russel <[email protected]> | 2005-08-06 22:20:35 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2005-08-06 22:20:35 +0000 |
commit | 49ae3a22cb0f12f93a3ebbff68407876a1aa4f99 (patch) | |
tree | 0828717b2c343139a68967ee055613e6a3d0cc2a /src/demos | |
parent | 10a63ef5c03e1d400f2c3265b40562fb30f89f78 (diff) |
Broke another deadlock with VertexProgWarp demo in JRefract framework
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JSR-231@111 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
Diffstat (limited to 'src/demos')
-rwxr-xr-x | src/demos/jrefract/JRefract.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/demos/jrefract/JRefract.java b/src/demos/jrefract/JRefract.java index b7a32d9..d0686a6 100755 --- a/src/demos/jrefract/JRefract.java +++ b/src/demos/jrefract/JRefract.java @@ -175,8 +175,12 @@ public class JRefract { VertexProgWarp demo = new VertexProgWarp(); demo.setDemoListener(demoListener); demo.setTitleSetter(new VertexProgWarp.TitleSetter() { - public void setTitle(String title) { - inner.setTitle(title); + public void setTitle(final String title) { + SwingUtilities.invokeLater(new Runnable() { + public void run() { + inner.setTitle(title); + } + }); } }); canvas.addGLEventListener(demo); |