Codes work on Applet but not on Application
My code worked well before I clean regedit, now the problem is the same code work well on Applet, but not on Application. I get the messages:
CONTEXT_CREATION_ERROR: Renderer: Error creating Canvas3D graphics context
graphicsDevice = Win32GraphicsDevice[screen=0]
canvas = javax.media.j3d.Canvas3D[canvas0,0,0,400x300]
Java 3D ERROR : Canvas3D_createNewContext: Failed in SetPixelFormat - invalid pixel format
I guess the display driver may crash after regedit, but it keeps not working even if I reinstall the display driver.
Any one help me?
My code use this:
new MainFrame(new first(),400,300);
it did work before.
Message was edited by: gzdillon