Click to See Complete Forum and Search --> : Java Frames (ugh!!!)
I am writing an appliation where one frame opens another frame. I want to
place a button on the opener frame that closes the frame it originally opened.
I can't figure it out. Can somebody PLEASE help me.
Thanks in advance,
Eric
Ruchi Dhar
12-04-2000, 12:19 AM
You might of hava created one Frame object to open the new frame keep the
reference of that object in the main frame. When you catch the event of
a button on the opener call dispose() method on the stored frame reference.
"Eric" <moonovermn@hotmail.com> wrote:
>
>I am writing an appliation where one frame opens another frame. I want
to
>place a button on the opener frame that closes the frame it originally opened.
> I can't figure it out. Can somebody PLEASE help me.
>
>Thanks in advance,
>
>Eric
devx.com
Copyright Internet.com Inc. All Rights Reserved