my dog learned polymorphism*
The moose likes Swing / AWT / SWT and the fly likes How to set value to JFrame from JInternalFrame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to set value to JFrame from JInternalFrame " Watch "How to set value to JFrame from JInternalFrame " New topic
Author

How to set value to JFrame from JInternalFrame

Tee ming
Greenhorn

Joined: Oct 26, 2001
Posts: 3
I have many JInternalFrame inside frame. When i click on the
button on the JInternal Frame, i need the pass the value of JInterFrame and set it into JFrame. Can you show me how ?
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

Pass what values? You should be able to get the top level container ( i.e. the JFrame that holds the JDesktopPane that holds the JInternalFrame ) by doing the following in the JInternalFrame:



-Nate


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to set value to JFrame from JInternalFrame
 
Similar Threads
Jinternal frame
JInternalFrame not fit on desktopPane in full size
Creating modal in JInternalFrame
JFrame Title Block
How to set value to JFrame from JInternalFrame