Article View: borland.public.jbuilder.java.swing
Article #9262Re: Closing a JFrame
From: Steve Horsley
Date: Mon, 08 May 2000 00:00
Date: Mon, 08 May 2000 00:00
12 lines
897 bytes
897 bytes
Or myFrame.setVisible(false) if you intend to re-show it later? Steve. Phillipus wrote: > > JFrame myFrame = new JFrame(); > myFrame.dispose(); > > Jack Frosch wrote: > > > JFrame doesn't have a setClosed method like JInternalFrame, so what's > > the preferred method to close a window programmatically?
Technical Details
Message-ID:
<3916C8AE.B4B80F4A@cwcom.co.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3915DCDE.DB761D66@mail.com> <3916838A.3F3D0F64@bangor.ac.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,b66998d9d242e5d4 X-Google-Attributes: gid111d45,public From: Steve Horsley <steve.horsley@cwcom.co.uk> Subject: Re: Closing a JFrame Date: 2000/05/08 Message-ID: <3916C8AE.B4B80F4A@cwcom.co.uk> X-Deja-AN: 620658843 Content-Transfer-Encoding: 7bit References: <3915DCDE.DB761D66@mail.com> <3916838A.3F3D0F64@bangor.ac.uk> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Trace: 8 May 2000 06:52:13 -0800, 127.0.0.1 MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing