Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JInternalFrame iconifying size

 
John Jai
Rancher
Posts: 1776
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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.

issue-shot.JPG
[Thumbnail for issue-shot.JPG]
 
John Jai
Rancher
Posts: 1776
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I resolved the issue by overriding iconifyFrame() method in DestopManager interface.
 
John Jai
Rancher
Posts: 1776
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This was giving better control with Y value of icons. Sometimes they were not aligned in a straight line.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic