java JInternalFrame: is it possible to make it overflowing out of parent?
<p>I want to have one main window, and inside that window should be child windows, which are draggable, resizable etc. If I use just JFrames or JDialogs, it gives me many problems about the stacking of the windows. When the main window has focus, the child windows shouldn't move to the background.
This can be so-so fixed by listening to window events and bringing the child windows to front again, but now I get even more problems, for example popup boxes and other prompt dialogs are not stacked in the right order.
My solution is to use JInternalFrame for the child windows, but the disadvantage is, that they are clipped by the parent container.
Here's an example (just from internet). You see the clipping of internal frames:</p>

<p><a href="https://i.stack.imgur.com/qpmX0.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qpmX0.jpg" alt="enter image description here"></a></p>

<p>My question is: is it possible to make them visible outside the parent component, so the overflow is visible.
The final goal of the GUI is to get something like photoshop. Windows which are independent on the screen, but which will never go to the background of its main window (parent)</p>