15
« on: April 11, 2007, 11:01:07 pm »
I just upgraded my horse race game to Jpct new version, everything looks good, except:
previous I used a canvas as the content of a JFrame, like following,
canvas = buffer.enableGLCanvasRenderer(IRenderer.MODE_OPENGL);
this.getContentPane().add(canvas);
now, because the method "enableGLCanvasRenderer" is not supported anymore, so I have to change into:
buffer.enableRenderer(IRenderer.RENDERER_OPENGL, IRenderer.MODE_OPENGL);
so there is no canvas anymore.
But the problem is that when I try to close this webstart window, the close button on the top-right of the window doesn't work!!!
And I accessed the bluethunder, the demo webstart, the close button doesn't work either, I have to use keyboard to close this webstart window, but this is not a good way, I think.
So has anybody ever met such a problem and how to figure it out, I mean use new version.
Thanks.