Article View: borland.public.jbuilder.java.language
Article #19333Re: Closing a frame.
From: Marc Jourdenais
Date: Wed, 11 Feb 1998 00:00
Date: Wed, 11 Feb 1998 00:00
19 lines
1100 bytes
1100 bytes
Attach a listener to the windowClosing event of the frame and in the resulting event method setVisible(false). This hides the frame when the close box is clicked. - Marc Walter Draffin wrote: > First of all I would like to thank everyone who has helped me. It has > made my learning and development so much more enjoyable and productive. > > My question now is, how do I do about adding a event listener to the > frame so that it closes if I click on the close (X) in win95 and/or > close in the frames command menu. > > Thanks in Advance, > Walter Draffin > Telegraph New Technologies
Technical Details
Message-ID:
<34E21029.CC426C1B@pcn.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<34E1D191.21239B94@telegraph.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,8c0d19604e1a0825 X-Google-Attributes: gidf74b3,public From: Marc Jourdenais <mjourden@pcn.com> Subject: Re: Closing a frame. Date: 1998/02/11 Message-ID: <34E21029.CC426C1B@pcn.com> X-Deja-AN: 324221754 Content-Transfer-Encoding: 7bit References: <34E1D191.21239B94@telegraph.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: None Newsgroups: borland.public.jbuilder.java.language