🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Please, help....

#8676
From: TP
Date: Tue, 06 Mar 2001 16:38
12 lines
1257 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.
I tried to use cust.setVisible(false); to close the other window but it
did not work.

How can I reference that window, so I can close it too.

Thank you.
Technical Details
Message-ID: <3AA5127D.D46ECC3@udscorp.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!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,8801456ba964f345,start
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-03-06 06:46:06 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
From: TP <Poupko@udscorp.com>
Newsgroups: borland.public.jbuilder.java.language
Subject: Please, help....
Date: Tue, 06 Mar 2001 08:38:21 -0800
Organization: Ultramar Diamond Shamrock
Message-ID: <3AA5127D.D46ECC3@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: 15