🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #8765

closing two windows

#8765
From: TP
Date: Fri, 02 Mar 2001 21:47
11 lines
1179 bytes
I have two windows open (each one is being opened by an action which
calls: Application1 cust = new Application1(); and Application2 driv =
new Application2();
When the end user presses a button (jButton) I want both windows to
close. The window which the jbutton is on will close with:
this.setVisible(false); but the other window is still open.
How can I reference that window, so I can close it too.

Thank you.

Tami
Technical Details
Message-ID: <3AA014EF.585E19FA@udscorp.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!sn-post-01!supernews.com!corp.supernews.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,cf4dc6cb1d2146b4,start
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-03-02 11:56:05 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
From: TP <Poupko@udscorp.com>
Newsgroups: borland.public.jbuilder.java.language
Subject: closing two windows
Date: Fri, 02 Mar 2001 13:47:27 -0800
Organization: Ultramar Diamond Shamrock
Message-ID: <3AA014EF.585E19FA@udscorp.com>
Reply-To: Poupko@udscorp.com
X-Mailer: Mozilla 4.5 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Complaints-To: newsabuse@supernews.com
Lines: 12