Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Swing / AWT / SWT and the fly likes listening to disposed child components Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "listening to disposed child components" Watch "listening to disposed child components" New topic
Author

listening to disposed child components

Jhedzkie Skies
Ranch Hand

Joined: Oct 28, 2009
Posts: 118
hi there.


i am working on some frames when i got up to this issue...

i have a child panel added to a frame through a button...
the child panel added has input fields and a save button for saving the input and disposing the child panel...

question is, how can i dispose the frame at the same time with the child panel upon clicking the save button on the child panel?

ideas are very much appreciated. thanks a lot.
Rob Camick
Ranch Hand

Joined: Jun 13, 2009
Posts: 2153
    
    7
Jhedzkie Skies
Ranch Hand

Joined: Oct 28, 2009
Posts: 118
Rob Camick wrote:


thanks. works flawlessly.
 
wood burning stoves
 
subject: listening to disposed child components
 
Similar Threads
AWT
panel and frame (Swing)
awt
Getting my main class and GUI components to talk without inner classes
facing problem in event handling