Article View: borland.public.jbuilder.java.api
Article #3204Re: ButtonGroups in Swing
From: Jennifer Merkel
Date: Mon, 09 Mar 1998 00:00
Date: Mon, 09 Mar 1998 00:00
25 lines
1556 bytes
1556 bytes
That is what I did. I added the buttons to the same group and then individually added them to the panel. But they do not appear on the panel. I have also tried adding them to the panel first and then adding them to the same group but that seems to do nothing. Jennifer Bill Bercik wrote: > The ButtonGroup is not a GUI component class, just a class for telling > buttons that they are in the same group. After creating the button group, > you still need to add the radio buttons individually > -Bill Bercik. > > Jennifer Merkel wrote: > > > Has any gotten a ButtonGroup to work? I tried make a ButtonGroup with > > two JRadiobuttons in it and was unsuccessful. When I added the buttons > > to the button group they would not appear on the panel. I also tred > > adding them to the button group after I added them to the panel. In the > > latter case, I had two buttons on the panel but I could select both at > > the same time. > > > > Jennifer
Technical Details
Message-ID:
<35041DED.F324BA47@edmundsassoc.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<34FEE586.EF13723F@edmundsassoc.com> <35033257.C3A45ED9@remoove_this.dippybird.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,da57a7ce1a883f2 X-Google-Attributes: gid1089d0,public From: Jennifer Merkel <JenniferM@edmundsassoc.com> Subject: Re: ButtonGroups in Swing Date: 1998/03/09 Message-ID: <35041DED.F324BA47@edmundsassoc.com> X-Deja-AN: 332313711 Content-Transfer-Encoding: 7bit References: <34FEE586.EF13723F@edmundsassoc.com> <35033257.C3A45ED9@remoove_this.dippybird.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: Edmunds & Associates Newsgroups: borland.public.jbuilder.java.api