🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.lenguajes.java
Article #25844

Re: Funcionamiento del ButtonGroup (SWING)

#25844
From: Jos� Antonio P�rez Testa
Date: Thu, 25 Feb 1999 00:00
42 lines
1818 bytes
This is a multi-part message in MIME format.
--------------C4672962A0275F02DC1417AB
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Prueba con esto chiquitin...

com.sun.java.swing.JButton.getModel().setSelected(boolean b)


Ismael wrote:

> Alguien sabe como hacer para seleccionar por programa uno de los botones
> (en mi caso radioButtons).
> En el api me dice que para encontrar el boton debo obtener el
> buttonmodel, pero no se exactamente que es.
>
> Si alguien sabe como trabajar con buttongroups o sabe donde encontrar un
> ejemplo o documentacion sobre esta clase, por favor que me mande un
> mail.
>
> Un saludo

--------------C4672962A0275F02DC1417AB
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Jos� Antonio P�rez Testa
Content-Disposition: attachment; filename="vcard.vcf"

begin:          vcard
fn:             Jos� Antonio P�rez Testa
n:              ;Jos� Antonio P�rez Testa
org:            Grupo Polar
email;internet: testa@polar.es
tel;work:       91-515 37 88
x-mozilla-cpt:  ;0
x-mozilla-html: FALSE
version:        2.1
end:            vcard


--------------C4672962A0275F02DC1417AB--
Technical Details
Message-ID: <36D5A01A.9E7D5A6C@polar.es>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36CBFA9C.59B31A26@tissat.es>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII-7-bit
X-Google-Thread: 1116f3,7d7f73f84daed4ab
X-Google-Attributes: gid1116f3,public
From: "Jos� Antonio P�rez Testa" <testa@polar.es>
Subject: Re: Funcionamiento del ButtonGroup (SWING)
Date: 1999/02/25
Message-ID: <36D5A01A.9E7D5A6C@polar.es>
X-Deja-AN: 448437725
References: <36CBFA9C.59B31A26@tissat.es>
To: Ismael <iblesa@tissat.es>
Content-Type: multipart/mixed; boundary="------------C4672962A0275F02DC1417AB"
Organization: Grupo Polar
Mime-Version: 1.0
Newsgroups: es.comp.lenguajes.java