Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JInternalFrame iconifying position issue

 
John Jai
Rancher
Posts: 1776
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
minimized_position_issue.JPG
[Thumbnail for minimized_position_issue.JPG]
 
Rob Camick
Ranch Hand
Posts: 2584
9
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe you are looking for something like this:



You would add the listener to the desktop pane using:

 
John Jai
Rancher
Posts: 1776
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic