How to create jinternalframes who’s action depends on each other? example suppose i have two internal frame, if i minimize one frame the second frame should occupie the rest of the Jdesktopane and vice verse.
More in detail we can take eclipse as an example who’s work space frame and program writing space frame, which depends on each other. can some one help what’s the logic behind that ?
thank you in advance for replies
How to create jinternalframes who’s action depends on each other? example suppose i have
Share
You can add a WindowListener to each frame, and listen for changes to the internal frame state.
As for actually iconifying the internal frame, you need to use the desktop manager corresponding to your JDesktopPane to perform the action: