This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Very Interesting. Resize versus Maximize

vicky bawge
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Folks,
I have a list of JInternalFrames. Only one is visible at a time. In the componentResized event listener, if the visible JInternalFrame is resized, i resize all the other JInternalFrames in the list. And when i hide the current one and show the other, it shows up with the new size(It doesn't trigger a new ComponentResized event). All is fine till now. But, when the current JInternalFrame is maximized, obviously, in the listener code, all the other hidden JInternalFrames also get maximized. Now, if i switch the JInternalFrames(hide the current and show another JinternalFrame), this triggers a new componentResized event.
Why this difference.
Please treat this urgent
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic