Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to set value to JFrame from JInternalFrame

 
Tee ming
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic