Hi,
I'm trying to put a JMenuBar in my application window. The menu bar itself is displayed correctly. Unfortunatly, the menus that appear when the user click on a menu of the menu bar are hidden by the OpenGL canvas in the window. The canvas is always rendered on top of the menus.
I use the OpenGL renderer only. I use
frameBuffer.enableGLCanvasRenderer(IRenderer.MODE_OPENGL);
to initialise the OpenGL renderer and then I disable the software renderer. When rendering, I use the following code :
frameBuffer.clear();
world.renderScene(frameBuffer);
world.draw(frameBuffer);
frameBuffer.update();
frameBuffer.display(graphics);
canvas.repaint();
Is there something I can change to allow the menu to be displayed correctly ?
Thank you for your help.