🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Weird dialog boxes Shock Horror!

#12673
From: Marco L�bbering
Date: Fri, 20 Nov 1998 00:00
22 lines
1060 bytes
Phillipus wrote:

> Has anyone come across the mysterious case of dialog boxes /
> JOptionPanes displaying the wrong title bars?
>
> I'm using JDK 1.1.6 & 1.1.7 with Swing 1.0.3.
> ...
> Basically it seems I get the title message of the previous (or first)
> JOptionPane each time.
>
> Weirdness!!!
>
> Phillipus

I had the same problem with JoptionPane. A short workaround is to call
dispose() after the Dialog was shown:

myDialog.show();
myDialog.dispose();

 I hope this will help you ...
LMarco
Technical Details
Message-ID: <365540C8.46AABAAE@gmx.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3653F524.B9A891EC@bangor.ac.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,750460920fab1817
X-Google-Attributes: gid111d45,public
From: "Marco L�bbering" <LMarco@gmx.net>
Subject: Re: Weird dialog boxes Shock Horror!
Date: 1998/11/20
Message-ID: <365540C8.46AABAAE@gmx.net>
X-Deja-AN: 413820643
Content-Transfer-Encoding: 7bit
References: <3653F524.B9A891EC@bangor.ac.uk>
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing