This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply 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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: How to set value to JFrame from JInternalFrame
 
Similar Threads
How to set value to JFrame from JInternalFrame
JFrame Title Block
Jinternal frame
JInternalFrame not fit on desktopPane in full size
Creating modal in JInternalFrame