🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #132

Re: Java Swing Popup Jframe

#132
From: Rafael Amar
Date: Thu, 16 Feb 2006 09:32
13 lines
1908 bytes
I found the answer.

in the popup program:
public JFrame fraframe2;
set in a button in popup prog:
fraframe2.setVisible(false);

in the main prog:
Copy_ban thePopup= new Copy_ban();
        thePopup.fraframe2=thePopup;
        thePopup.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
        thePopup.pack(); 
        thePopup.show();
Technical Details
Message-ID: <1140082341.921776.95210@g44g2000cwa.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!g44g2000cwa.googlegroups.com!not-for-mail
References: <1139747453.158711.181280@g43g2000cwa.googlegroups.com> <43ef2b8a$0$6985$ed2619ec@ptn-nntp-reader02.plus.net> <1139748352.845580.261230@f14g2000cwb.googlegroups.com> <43ef2f52$0$6985$ed2619ec@ptn-nntp-reader02.plus.net> <1139755276.349390.69690@g44g2000cwa.googlegroups.com> <43ef7478$0$6985$ed2619ec@ptn-nntp-reader02.plus.net>

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,f4a0521ee88590b2
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!g44g2000cwa.googlegroups.com!not-for-mail
From: "Rafael Amar" <rafiamar@gmail.com>
Newsgroups: borland.public.jbuilder.java.swing
Subject: Re: Java Swing Popup Jframe
Date: 16 Feb 2006 01:32:21 -0800
Organization: http://groups.google.com
Lines: 14
Message-ID: <1140082341.921776.95210@g44g2000cwa.googlegroups.com>
References: <1139747453.158711.181280@g43g2000cwa.googlegroups.com>
   <43ef2b8a$0$6985$ed2619ec@ptn-nntp-reader02.plus.net>
   <1139748352.845580.261230@f14g2000cwb.googlegroups.com>
   <43ef2f52$0$6985$ed2619ec@ptn-nntp-reader02.plus.net>
   <1139755276.349390.69690@g44g2000cwa.googlegroups.com>
   <43ef7478$0$6985$ed2619ec@ptn-nntp-reader02.plus.net>
NNTP-Posting-Host: 147.235.190.2
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1140082347 15378 127.0.0.1 (16 Feb 2006 09:32:27 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 16 Feb 2006 09:32:27 +0000 (UTC)
In-Reply-To: <43ef7478$0$6985$ed2619ec@ptn-nntp-reader02.plus.net>
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe)
X-HTTP-Via: 1.0 ISAPROXY
Complaints-To: groups-abuse@google.com
Injection-Info: g44g2000cwa.googlegroups.com; posting-host=147.235.190.2;
   posting-account=bkE1IA0AAABZ4seR5MXrNWck4qTjq9um