🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #9260

Re: Closing a JFrame

#9260
From: Phillipus
Date: Mon, 08 May 2000 00:00
9 lines
756 bytes
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: <3916838A.3F3D0F64@bangor.ac.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3915DCDE.DB761D66@mail.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,b66998d9d242e5d4
X-Google-Attributes: gid111d45,public
From: Phillipus <p.beauvoir@bangor.ac.uk>
Subject: Re: Closing a JFrame
Date: 2000/05/08
Message-ID: <3916838A.3F3D0F64@bangor.ac.uk>
X-Deja-AN: 620579547
Content-Transfer-Encoding: 7bit
References: <3915DCDE.DB761D66@mail.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Trace: 8 May 2000 01:56:35 -0800, 147.143.6.201
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing