I would like to know how the Iconified size of a JInternalFrame added to a JDesktopPane (content pane of a JFrame) is calculated. I have a total of 4 internal frames. When the frame is on its initial size i open two of the internal frames and iconify them. The get iconified some what smaller. Now I just maximize and minimize the outer JFrame (either clicking the min/max button or pulling the borders) and then tried iconify the other two internal frames. Now the other two iconfied frames have a larger size than the first two.
Can any one please tell me whether when iconifying a internal frame what are the external factors taken into account. I have a custom desktop manager which does nothing on iconfication of its internal frames. I have attached the issue screen shot too.
John Jai
Bartender
Joined: May 31, 2011
Posts: 1778
posted
0
I resolved the issue by overriding iconifyFrame() method in DestopManager interface.
John Jai
Bartender
Joined: May 31, 2011
Posts: 1778
posted
0
This was giving better control with Y value of icons. Sometimes they were not aligned in a straight line.