I working with JDesktopPane
and creating multiple JInternalFrame
objects. When I minimize all and maximize any one of them, the opened frame covers all minimized frames.
How to make all minimized frames visible?
I working with JDesktopPane
and creating multiple JInternalFrame
objects. When I minimize all and maximize any one of them, the opened frame covers all minimized frames.
How to make all minimized frames visible?
By default the internal frame is maximized to take all the space of the desktop. This behaviour is relatively easy by change by customizing the
DesktopManager
. For example:Unfortunately if you resize the frame, then the bounds of the internal frame are readjusted to match the bounds of the desktop pane again. The logic that does this is in the BasicInternalFrameUI:
This logic is found in a private internal class of the UI so it will not be easy to change. At least I don't know how to do it.