🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Checking State of JCheckBox

#10903
From: Matt Krevs
Date: Thu, 05 Aug 1999 00:00
19 lines
1132 bytes
isSelected()

Check out
http://java.sun.com/docs/books/tutorial/uiswing/components/button.html#check
box

Bill Bell <billb@airmail.net> wrote in message
news:37A82BE4.2763BB50@airmail.net...
> I have an app that has many JCheckBoxes.  After the user has finished
> checking the boxes they want they click a button and the app determines
> what boxes are checked.  I want a method like:
>
> myJCheckBox.getState();
>
> I cannot find a method like this in the docs.  How do you do this?
>
> Regards,
>
>    Bill Bell...
Technical Details
Message-ID: <7oafau$pd710@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <37A82BE4.2763BB50@airmail.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,1974fe854b8ff6c7
X-Google-Attributes: gid111d45,public
From: "Matt Krevs" <mattkrevs@bigpond.com.au>
Subject: Re: Checking State of JCheckBox
Date: 1999/08/05
Message-ID: <7oafau$pd710@forums.borland.com>
X-Deja-AN: 508957530
References: <37A82BE4.2763BB50@airmail.net>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Reply-To: "Matt Krevs" <mattkrevs@bigpond.com.au>
Newsgroups: borland.public.jbuilder.java.swing