File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes Very Interesting. Resize versus Maximize Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Very Interesting. Resize versus Maximize" Watch "Very Interesting. Resize versus Maximize" New topic
Author

Very Interesting. Resize versus Maximize

vicky bawge
Ranch Hand

Joined: Sep 04, 2001
Posts: 34
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
Thanks
Vicky
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Very Interesting. Resize versus Maximize