Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Very Interesting. Resize versus Maximize  RSS feed

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
Boost this thread!