JInternalFrame object hidden behind other JComponents
posted 10 years ago
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
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.