Article View: borland.public.jbuilder.java.language
Article #17773Problem with dialog
From: Dan Patterson
Date: Wed, 30 Sep 1998 00:00
Date: Wed, 30 Sep 1998 00:00
19 lines
855 bytes
855 bytes
I am using a dialog as shown below. However I cannot get the dialog to
close/disappear before the actapplet.mainFrame.postbutton method has
finished. Any suggestions ?
MessageDialog temp = new MessageDialog(new Frame(),"Alert","Do you really
want to do this ?"),6);
temp.show();
if (temp.getResult() == 2) {
actapplet.mainFrame.postButton_mouseReleased(null);
}
Thanks
Dan.
Technical Details
Message-ID:
<6utgtl$qa518@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,22680a4356ebb85f,start X-Google-Attributes: gidf74b3,public From: "Dan Patterson" <dan-patterson@msn.com> Subject: Problem with dialog Date: 1998/09/30 Message-ID: <6utgtl$qa518@forums.borland.com> X-Deja-AN: 396356283 Organization: Another Netscape Collabra Server User X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Newsgroups: borland.public.jbuilder.java.language