This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JInternalFrame object hidden behind other JComponents  RSS feed

 
colin shuker
Ranch Hand
Posts: 750
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,
I have a JFrame, which uses GridBagLayout, I've added several JPanels to the content pane.
I also added a JInternalFrame inside the original JFrame.
However when I drag it around inside the JFrame, it is not at the front, and is partially blocked by other JPanels.

I've tried a few JInternalFrame methods to get it to the front, but it won't work.

Can anyone point me in the right direction.
Thanks
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know the exact machenics of it but a JInternalFrame is designed to be placed on a JDesktopPane. What was your design goal with the JInternalFrame? Maybe we could suggest a good work around or alternate solution. That is unless you can just use a JDesktopPane.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!