Need help with rendering contols over Java2D rendering

Started by
0 comments, last by Simian Man 17 years, 12 months ago
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?
Advertisement
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

This topic is closed to new replies.

Advertisement