1.

Net.java.games.jogl.glexception: Unable To Lock Surface?

Answer»

JOGL appears to have some very weird internal setup TIMING that CAUSES problems in odd ways. This exception comes when you have ATTEMPTED to do something to the GLCanvas before adding it to another component that is not already visible. To avoid this, make SURE you call setVisible(true) on the containing Frame/Window before adding the GLCanvas.

JOGL appears to have some very weird internal setup timing that causes problems in odd ways. This exception comes when you have attempted to do something to the GLCanvas before adding it to another component that is not already visible. To avoid this, make sure you call setVisible(true) on the containing Frame/Window before adding the GLCanvas.



Discussion

No Comment Found