aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes JInternalFrame iconifying position issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JInternalFrame iconifying position issue" Watch "JInternalFrame iconifying position issue" New topic
Author

JInternalFrame iconifying position issue

John Jai
Bartender

Joined: May 31, 2011
Posts: 1776
When i maximize or minimize a JInternal frame can i make the iconfied internal frames also move with it always showing at the bottom left (not necessarily in the front)? Because if i iconify an internal frame and then maximize the internal frames stay in the middle of the screen. And If i iconify an internal frame when the JFrame is at its maximum size and then minimize it again the iconfied frames disappear. They appear only after the JFrame is stretched to its maximum. I have attached screen shot of the issue.

Thanks for your suggestions.


[Thumbnail for minimized_position_issue.JPG]

Rob Camick
Ranch Hand

Joined: Jun 13, 2009
Posts: 2227
    
    8
Maybe you are looking for something like this:



You would add the listener to the desktop pane using:

John Jai
Bartender

Joined: May 31, 2011
Posts: 1776
Hi Rob,

This is what i was exactly looking for. Thanks for showing ComponentAdapter class usage. I will explore on it more.

i found your posts in the Swing forum very useful and the Fixed Column Table Model thing you had in a web blog tops the list.

Thanks a lot.

Since i knew the icon's height as i use it set when iconifying icons i was able to do it bit easily like below
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JInternalFrame iconifying position issue