Article View: borland.public.jbuilder.java.swing
Article #1131Re: Adding an exit confirmation dialog to a JFrame
From: Tor Iver Wilhelmsen (TeamB)
Date: Fri, 12 Mar 2004 08:08
Date: Fri, 12 Mar 2004 08:08
10 lines
1515 bytes
1515 bytes
"Ron" <rgans@nospamRonaldgansphotographyDOTcom> writes: > Thanks! I tried it and it worked, but then the question: I used null and > that worked also. Both Frame1.this and null seem to have the same > functionality, in this very tiny example. It does - until you bring the frame to the foreground. If you have passed the frame to JOptionPane, the modal dialog will then pop to the foreground; otherwise the modal dialog remains in the background and the user will not know why they can\t interact with the frame.
Technical Details
Message-ID:
<u8yi632td.fsf@ergo.no>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news-lei1.dfn.de!news-fra1.dfn.de!newsfeed.ision.net!ision!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4050d3d3$1@newsgroups.borland.com> <4050d4ef@newsgroups.borland.com> <4050dce5@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,e0ae65b09d87ff96 X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2004-03-12 00:39:33 PST Sender: towi@SDSA4902 Newsgroups: borland.public.jbuilder.java.swing Subject: Re: Adding an exit confirmation dialog to a JFrame References: <4050d3d3$1@newsgroups.borland.com> <4050d4ef@newsgroups.borland.com> <4050dce5@newsgroups.borland.com> From: tor.wilhelmsen@ergo.no (Tor Iver Wilhelmsen (TeamB)) Date: 12 Mar 2004 09:08:30 +0100 Message-ID: <u8yi632td.fsf@ergo.no> Lines: 10 X-Newsreader: Gnus v5.7/Emacs 20.7 NNTP-Posting-Host: 139.105.4.216 X-Trace: newsgroups.borland.com 1079078909 139.105.4.216 (12 Mar 2004 00:08:29 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news-lei1.dfn.de!news-fra1.dfn.de!newsfeed.ision.net!ision!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail