Article View: borland.public.jbuilder.java.swing
Article #11927Window closing
From: Leo Cohen
Date: Mon, 15 Mar 1999 00:00
Date: Mon, 15 Mar 1999 00:00
19 lines
1126 bytes
1126 bytes
I have two non modal JDialog windows on the screen. Each has a window closer in its title bar. When one of the windows, A, has focus, I go directly to window B's closer with the mouse and press it. This causes a windows closing event for A (a breakpoint shows that) which is what I want. However, the program then closes B (skipping the windows closing event; i.e., no breakpoint). Is there any way to intercept the closing of B so as to prevent it? -- Leo Cohen 116-1 Howard Drive Charlottesville, VA 22903 804-243-8922 (UVA) 804-244-4648 (home) 804-244-7922 (home fax) 815-550-9313 (office fax) lcohen@cs.virginia.edu
Technical Details
Message-ID:
<36ED5340.59DD4EA5@cs.virginia.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,9db34235e6d2af09,start X-Google-Attributes: gid111d45,public From: Leo Cohen <lcohen@cs.virginia.edu> Subject: Window closing Date: 1999/03/15 Message-ID: <36ED5340.59DD4EA5@cs.virginia.edu> X-Deja-AN: 455307899 Content-Transfer-Encoding: 7bit Organization: Another Netscape Collabra Server User Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing