Article View: borland.public.jbuilder.java.swing
Article #10326JOptionPane Cancel Option
From: Microsoft News
Date: Mon, 18 Oct 1999 00:00
Date: Mon, 18 Oct 1999 00:00
8 lines
935 bytes
935 bytes
I'm kind of a newbie to Java. Anyway I was writing a couple of programs that display information in the JOptionPane.showMessageDialog. I was wondering how I access the Cancel button and tell the Dialog to do something else if the Cancel button is pressed. I notice that when I press the Cancel button in my applications that it terminates but a bunch of exceptions are thrown in the execution log. Any help would be appreciated. This is probably an easy one for you pros.
Technical Details
Message-ID:
<7ufd9j$p5s27@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: 111d45,f34e96a043e78532,start X-Google-Attributes: gid111d45,public From: "Microsoft News" <jyoung@kplus.com> Subject: JOptionPane Cancel Option Date: 1999/10/18 Message-ID: <7ufd9j$p5s27@forums.borland.com> X-Deja-AN: 537525308 Organization: Another Netscape Collabra Server User X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Newsgroups: borland.public.jbuilder.java.swing