Article View: borland.public.jbuilder.java.swing
Article #7468Cancel WINDOW_CLOSING
From: Hartmut
Date: Tue, 23 Jan 2001 15:04
Date: Tue, 23 Jan 2001 15:04
13 lines
1179 bytes
1179 bytes
Hi, all!
I'm looking for a way to get control about the closing of the frame and the
application.
When the user clicks jMenuFileExit or the close button in the frame's title
bar ("X"),
I want to ask him, if he wants to save data or if he wants to cancel the
closing (typical dialog box with "Yes", "No", "Cancel").
How to do this?
Thanks in advance,
Hartmut
Technical Details
Message-ID:
<3a6d9d3c_2@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-04!supernews.com!xfer13.netnews.com!netnews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!193.159.113.234Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,843135985a332749,start X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2001-01-23 07:08:41 PST From: "Hartmut" <hartmut.kiessling@bnhof.de> Newsgroups: borland.public.jbuilder.java.swing Subject: Cancel WINDOW_CLOSING Date: Tue, 23 Jan 2001 16:04:13 +0100 Lines: 16 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 NNTP-Posting-Host: 193.159.113.234 Message-ID: <3a6d9d3c_2@dnews> X-Trace: 23 Jan 2001 07:03:24 -0800, 193.159.113.234 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-04!supernews.com!xfer13.netnews.com!netnews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!193.159.113.234