• Advertisement
Sign in to follow this  

Need help with rendering contols over Java2D rendering

This topic is 4291 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement