🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

JOptionPane displaying.

#12883
From: Stéphane
Date: Thu, 29 Oct 1998 00:00
21 lines
1215 bytes
hi,

did anyone of you have this problem already :

I'm using a JOptionPane to input a integer. The code is just...
String s = JOptionPane.showInput(null,"label of the
question","input",QUESTION_MESSAGE,null,null,null)

The problem is that the first time the dialog input is shown, the size
of the dialog box is a bit too small, that is the label of the question
is nerver shown completely. 
Then, if i close the box and call it again, the size of the dialog box
is perfect, and the same goes to the next calls. 

I would like to know how can i do to fix that... and if anyone of you
has any idea, i would be really grateful...

thanks

Steph ;)
Technical Details
Message-ID: <3638C5F6.E3158D@cs.tut.fi>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,e20da148cdc66fad,start
X-Google-Attributes: gid111d45,public
From: Stéphane <steph@cs.tut.fi>
Subject: JOptionPane displaying.
Date: 1998/10/29
Message-ID: <3638C5F6.E3158D@cs.tut.fi>
X-Deja-AN: 406412273
Content-Transfer-Encoding: 7bit
X-Accept-Language: fr-FR
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Reply-To: steph@cs.tut.fi
Newsgroups: borland.public.jbuilder.java.swing