Article View: borland.public.jbuilder.java.language
Article #17846New Problems..
From: dlamy
Date: Tue, 29 Sep 1998 00:00
Date: Tue, 29 Sep 1998 00:00
46 lines
3006 bytes
3006 bytes
All-- I stumbled upon the ol' ProgressMeter which seems to wrap the functionality I need.. but I would like to reiterate a question asked on one of these boards. My applet calls JOptionPane several times.. and it seems that when called repeatedly, JOptionPane.showXXXdialog draws with some property settings from previous draws, even if I have since changed them. For example, I have one Pane that inputs a value.. title "Input Value".. I then have another Pane that has a JComboBox and a JTextField in it.. title "Select Value".. but the second Pane shows up the same size as the first one (it should be bigger to handle the additional components!) and the title bar still reads "Input Value". Does anyone know what is going on? I've tried using an actual component for parentComponent and null, but that doesn't do it. Thanks in advance for help-- Dave Lamy dlamy@synergyinc.com PS--I've noticed that the vast majority of questions asked on these board go unanswered.. are people getting replies via email or are they just not answerable (ie bug).. do people from Sun ever think about reading these boards and seeing how their bug-filled code is giving us all migraines? In article <6uo5gl$jcm4@forums.borland.com>, "Dave Lamy" <dlamy@synergyinc.com> wrote: > 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 > > -----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
Technical Details
Message-ID:
<6ur6vu$m0m$1@nnrp1.dejanews.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<6uo5gl$jcm4@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,676dbacbe237a240 X-Google-Attributes: gid111d45,public X-Google-Thread: f74b3,676dbacbe237a240 X-Google-Attributes: gidf74b3,public X-Google-Thread: 10fd6d,c163e1864d6f1f1e,start X-Google-Attributes: gid10fd6d,public X-Google-Thread: 10a146,c163e1864d6f1f1e,start X-Google-Attributes: gid10a146,public From: dlamy@my-dejanews.com Subject: New Problems.. Date: 1998/09/29 Message-ID: <6ur6vu$m0m$1@nnrp1.dejanews.com> X-Deja-AN: 396017896 References: <6uo5gl$jcm4@forums.borland.com> X-Http-Proxy: 1.1 x6.dejanews.com:80 (Squid/1.1.22) for client 129.52.155.205 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Tue Sep 29 17:56:14 1998 GMT Newsgroups: borland.public.jbuilder.java.language,borland.public.jbuilder.java.swing,comp.lang.java.gui,comp.lang.java.programmer X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.0; Windows 95)