🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #17831

Closing JOptionPane from code??

#17831
From: Dave Lamy
Date: Mon, 28 Sep 1998 00:00
15 lines
1126 bytes
Everyone--

Could someone please help me?  I'm trying to use a JOptionPane to display
the progress of a fairly long import process (much like the file copy/move
dialog in Windows Explorer)..

As you probably know, JOptionPane will pause its thread until a response is
given it.  I want to emulate a click on another thread so it will disappear.
I can capture a 'Cancel' button click fine, but how do I emulate a click in
code when the process is finished so the darn pane will go away?

Thanks a lot in advance--
Dave Lamy
Synergy, Inc.
dlamy@synergyinc.com
Technical Details
Message-ID: <6uo5gl$jcm4@forums.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,676dbacbe237a240,start
X-Google-Attributes: gid111d45,public
X-Google-Thread: f74b3,676dbacbe237a240,start
X-Google-Attributes: gidf74b3,public
From: "Dave Lamy" <dlamy@synergyinc.com>
Subject: Closing JOptionPane from code??
Date: 1998/09/28
Message-ID: <6uo5gl$jcm4@forums.borland.com>
X-Deja-AN: 395621521
Organization: Synergy, Inc
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
Newsgroups: borland.public.jbuilder.java.language,borland.public.jbuilder.java.swing