🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Don't close the JFrame

#12458
From: Achim Luetje
Date: Wed, 06 Jan 1999 00:00
15 lines
863 bytes
Hi all,

if the user click the X in the WindowMenu (close Window),  I catch the
windowClosing-Event for open a Dialog (Closing Application? Yes,No). If
the user choose No, then I don't what to close the JFrame.

How can I prevent the JFrame from closing itself?
--
Achim L�tje
PPI Informationssysteme GmbH
Graumannsweg 54
D-22087 Hamburg
Tel.: +49(40)22743349
Fax:  +49(40)22743333
Mailto:al@ppi.de
Technical Details
Message-ID: <36931F43.472133A3@ppi.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,e3ae091a39efac74,start
X-Google-Attributes: gid111d45,public
From: Achim Luetje <al@ppi.de>
Subject: Don't close the JFrame
Date: 1999/01/06
Message-ID: <36931F43.472133A3@ppi.de>
X-Deja-AN: 429339414
Content-Transfer-Encoding: 8bit
Organization: Pape+Partner GmbH
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing