Doubt with JInternal Frame

hi, i have a JFrame. In which i have add JSplitPane (Horizontal). In bottom of the JSplitPane I have added JInternalFrame. my doubt is how can i maximize the JInternalFrame when i click the Max. button with in the JFrame(Main window).thank you.
[272 byte] By [Inspiron123a] at [2007-10-3 10:53:12]
# 1

Internal frames should probably be added to a JDesktopPane for them to behave as expected.

However, you could always add a PropertyChangeListener for the JInternalFrame's "maximum" property and then manipulate the split pane's divider location accordingly (or simply hide the top component).

Hope this helps.

KPSeala at 2007-7-15 6:18:50 > top of Java-index,Desktop,Core GUI APIs...
# 2
Hithanks for the replyHere i have another Question on JInternalFrame.How do i handle Maximize and Restore Events for JInternalFrame?thank you
Inspiron123a at 2007-7-15 6:18:50 > top of Java-index,Desktop,Core GUI APIs...