I am implementing Docking Framework in my application. In that one feature is when I am closing the window, I want to save the current layout. Next time if I open that window it will open with Saved Layout.
I know it can be possible, but the thing is that it is working fine for Frames(extends from JFrame), but it is not working properly for internalFrames(extends from JInternalFrames). Means if I closed and immediately open the internal frame the saved layout is not reflected. In my application only Main Interface is extends from JFrame, remaining all screens are extends from JInternalFrame(those all are menu items).
If I want to implement this feature definitely it should be worked properly for InternalFrames. Is there any specific method for JInternalFrames or any other solution ?