Article View: borland.public.jbuilder.java.language
Article #18416Re: Bug on JInternalFrames windowclosing event...
From: Papadomichelakis John
Date: Sun, 28 Jun 1998 00:00
Date: Sun, 28 Jun 1998 00:00
59 lines
2191 bytes
2191 bytes
This is a multi-part message in MIME format. --------------C723741E97B4881A5925F00C Content-Type: text/plain; charset=iso-8859-7 Content-Transfer-Encoding: 7bit Papadomichelakis John wrote: > Try to run this program. After closing the JDialog the app will > froze. > > I found that if you open an JDialog or a Dialog, inside a > JInternalFrame > windowclosing event, you will halt the entire application. > > All I want is a way to display a warning message, before the > JInternalFrame closes. > I want to be able to abort the close operation.. > > How can I do that? The solution to the crash is not to create the window with a parent frame.When specifing null as JDialogs parent, everything is OK. ha! -- Papadomichelakis John "Unite for Java! - http://www.javalobby.org" __________________________________________________ email : michelos@freemail.gr TEL : 30 31 758 429, 30 31 709 796 __________________________________________________ --------------C723741E97B4881A5925F00C Content-Type: text/x-vcard; charset=iso-8859-7; name="vcard.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for John Papadomichelakis Content-Disposition: attachment; filename="vcard.vcf" begin: vcard fn: John Papadomichelakis n: Papadomichelakis;John org: BIA adr: 9 Filippou;;Euosmos;Thessaloniki;;56224;Hellas email;internet: michelos@freemail.gr tel;work: 267 923 tel;home: 758 429 x-mozilla-cpt: ;0 x-mozilla-html: TRUE version: 2.1 end: vcard --------------C723741E97B4881A5925F00C--
Technical Details
Message-ID:
<35956CFA.F4417250@freemail.gr>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<35950A62.2082E94@freemail.gr>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,1924b8d7b25e3855,start X-Google-Attributes: gidf74b3,public From: Papadomichelakis John <michelos@freemail.gr> Subject: Re: Bug on JInternalFrames windowclosing event... Date: 1998/06/28 Message-ID: <35956CFA.F4417250@freemail.gr> X-Deja-AN: 366681318 References: <35950A62.2082E94@freemail.gr> Content-Type: multipart/mixed; boundary="------------C723741E97B4881A5925F00C" Organization: BIA Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language