Need help with rendering contols over Java2D rendering
I have a Java2D/Swing application that renders the entire screen. What I'd like to do is make a simple chatroom (2 textfields & 1 button) over the rendering. Even though I try this, the rendering is visible, but the controls aren't. Is there a way to change how the controls are presented to the screen?
I had an issue with this once. Sadly I can't find the code I was working on, but the solution had to do with creating seperate JPanels for the drawing and the GUI. The drawing tries to overwrite the GUI if it is in the same area.
Hope that helps
Hope that helps
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement