Hello,
In my terrain editor, i’m using swing components: JButtons, JSlidebars, ect. So, I read about GLJPanel, and i thought to build in.
I replaced this code:
canvas = GLDrawableFactory.getFactory().createGLCanvas(new GLCapabilities());
to this:
canvas = GLDrawableFactory.getFactory().createGLJPanel(new GLCapabilities());
and may fps is 3 now. Using GLCanvas the fps was around 150-200.
How can i resolve it?
thank!