🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How can I know which button is clicked in JDialog ShowModal

#999
From: Luke
Date: Wed, 18 Aug 2004 13:04
8 lines
1254 bytes
> 
> Make your own subclass of JDialog that has such a method, and return a
> value from it that you test. Preferrably against a constant like an
> int, and not against a component. Example:

Thanks a lot!
Cheers
Technical Details
Message-ID: <pan.2004.08.18.13.04.19.149296@xppro.prismtechnologies.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!c03.atl99!news.usenetserver.com!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <412291da$1@newsgroups.borland.com> <u8yccvpbm.fsf@broadpark.no>

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,f4e663468e7be18
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Luke <luke@xppro.prismtechnologies.com>
Organization: Prism Tech
Subject: Re: How can I know which button is clicked in JDialog ShowModal
Date: Wed, 18 Aug 2004 14:04:19 +0100
User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.)
Message-ID: <pan.2004.08.18.13.04.19.149296@xppro.prismtechnologies.com>
Newsgroups: borland.public.jbuilder.java.swing
References: <412291da$1@newsgroups.borland.com> <u8yccvpbm.fsf@broadpark.no>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: 213.48.91.127
X-Trace: newsgroups.borland.com 1092834261 213.48.91.127 (18 Aug 2004 06:04:21 -0700)
Lines: 8
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!c03.atl99!news.usenetserver.com!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail