aspose file tools*
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: 2092
    
    7
Jhedzkie Skies
Ranch Hand

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


thanks. works flawlessly.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: listening to disposed child components
 
Similar Threads
awt
facing problem in event handling
panel and frame (Swing)
Getting my main class and GUI components to talk without inner classes
AWT