Why is my pixmap/font/texture not displayed?
This is usually due to multi-threading issues, especially when pixmaps are loaded within a event handling routine. Simply put, OpenGL prefers to be talked to from a single thread. This also applies to texture uploads. Since fonts and pixmaps are handled as textures in OpenGL, this problem equally affects fonts and pixmaps. It is most likely that this problem occurs using the JOGL binding, because the AWT mouse event handler thread runs separately from the render thread. And since AWT mouse events are simply forwarded to FengGUI by the according method calls in org.fenggui.Display, all uploaded pixmaps/fonts/textures from within a mouse event handling method (such as for menu items, buttons, etc.) are not displayed. The solution is to synchronize the texture upload with the render thread. Check a flag (e.g. if(uploadCoolTexture) …) in the paint method of some widget and upload the desired texture as soon as the paint method gets called (which will be from the render thread). Then set