🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Java Swing Popup Jframe

#119
From: Ian Mills
Date: Sun, 12 Feb 2006 12:35
24 lines
1833 bytes
Rafael Amar wrote:
> Hello all,
> I have a problem, i lanch popup from my main prog and when i close it
> the main prog closes too.
> why??
> 
> my code look somthing like this:
> 
> 
>  private void Multi_SessionActionPerformed(java.awt.event.ActionEvent
> evt) {
> Multi_Session thePopup= new Multi_Session();
>         thePopup.pack();
>         thePopup.show();
> }
> 
> 
> what i'm doing wrong???
> Thanks 
> 
> Rafael Amar
> 
This shows how you are opening the popup and not how you are closing it 
which is where your problem is
Technical Details
Message-ID: <43ef2b8a$0$6985$ed2619ec@ptn-nntp-reader02.plus.net>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news2.volia.net!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeeder.wxs.nl!lightspeed.eweka.nl!81.171.88.16.MISMATCH!-hq-usenetpeers.eweka.nl!212.159.2.67.MISMATCH!nntp-peering.plus.net!ptn-nntp-feeder03.plus.net!ptn-nntp-spool02.plus.net!ptn-nntp-reader02.plus.net!not-for-mail
References: <1139747453.158711.181280@g43g2000cwa.googlegroups.com>

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!news3.google.com!news.glorb.com!news2.volia.net!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeeder.wxs.nl!lightspeed.eweka.nl!81.171.88.16.MISMATCH!-hq-usenetpeers.eweka.nl!212.159.2.67.MISMATCH!nntp-peering.plus.net!ptn-nntp-feeder03.plus.net!ptn-nntp-spool02.plus.net!ptn-nntp-reader02.plus.net!not-for-mail
Date: Sun, 12 Feb 2006 12:35:24 +0000
From: Ian Mills <news@siteone.free-online.co.uk>
User-Agent: Thunderbird 1.5 (Windows/20051201)
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing
Subject: Re: Java Swing Popup Jframe
References: <1139747453.158711.181280@g43g2000cwa.googlegroups.com>
In-Reply-To: <1139747453.158711.181280@g43g2000cwa.googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 24
Message-ID: <43ef2b8a$0$6985$ed2619ec@ptn-nntp-reader02.plus.net>
Organization: Customer of PlusNet plc (http://www.plus.net)
NNTP-Posting-Host: b35431cb.ptn-nntp-reader02.plus.net
X-Trace: DXC=dIAl0kM=WT\a_kifA?aFQVigd3Y`7Rb;^37XnI;[OUCT^9hA8CU[bHPLdAKQnN>T<\Dk7O8S@1mHV\?0LB2Ak_9U
X-Complaints-To: abuse@plus.net