🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

JOptionPane.showInternalConfirmDialog() getValue() method dosnt work??

#9761
From: Muthu
Date: Fri, 21 Jan 2000 00:00
16 lines
1130 bytes
when i use showInternalConfirmDialog() overloaded method to show a dialog
window, the getValue() method dosnt retrieves the value user has selected.
insted it returns a message saying  "uninitializedValue"

getValue() work fine on JDialog but why not for showInternalConfirmDialog()
???

how can i initialize the values ? i'v tryed follwing way but it didnt work
out...


JOptionPane pane = new JOptionPane();
pane.showInternalConfirmDialog(jdtpn2,"Do you wont to save the
query","Message",pane.YES_NO_CANCEL_OPTION);
Object result = pane.getValue();
System.out.println(result);
Technical Details
Message-ID: <86960s$ibp7@bornews.borland.com>
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,569c179d91546360,start
X-Google-Attributes: gid111d45,public
From: "Muthu" <Muthu@telebot.com>
Subject: JOptionPane.showInternalConfirmDialog()   getValue() method dosnt work??
Date: 2000/01/21
Message-ID: <86960s$ibp7@bornews.borland.com>
X-Deja-AN: 575638665
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.swing