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