Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Swing / AWT / SWT
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Swing / AWT / SWT
How to set value to JFrame from JInternalFrame
Tee ming
Greenhorn
Posts: 3
posted 22 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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 ?
Chantal Ackermann
Ranch Hand
Posts: 508
posted 22 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
hi,
you should
use the ObserverPattern for such things. The JFrame will have to register a Listener to your internal frames.
this is a good article with sample code:
http://www.artima.com/designtechniques/eventgenP.html
have fun,
chantal
Gregg Bolinger
Ranch Hand
Posts: 15304
6
I like...
posted 22 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
What values are you passing?
------------------
Happy Coding,
Gregg Bolinger
Tee ming
Greenhorn
Posts: 3
posted 22 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I am passing a
String
to set the value to textField in the JFrame.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
How to set value to JFrame from JInternalFrame
Jinternal frame
JInternalFrame not fit on desktopPane in full size
JFrame Title Block
Creating modal in JInternalFrame
More...