Question about JInternalFrames
-
09-09-2019 - |
Question
I have a frame that once it's minimized, I'd like to minimize other frames related to it. If the frame is no longer minimized, I want to restore the other frames too. How should I go about doing this?
EDIT: nvm, it works.
Solution
JInternalFrame.addInternalListener
, and then catch in the internalFrameDeiconified
method.
Then you can just call JInternalFrame.setMaximum(true)
on any of the others that are minimized.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow