Question about JInternalFrames

277 Views Asked by At

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.

1

There are 1 best solutions below

0
On BEST ANSWER

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.