Java Radio Buttons
- From: bwilde@xxxxxxxxx
- Date: 30 Jun 2005 13:45:05 -0700
Hello,
I am creating a GUI in Java and would like to make buttons that behave
like radio buttons but look like regular JButtons. That is, I would
like for there to be a button group of three rectangular buttons, with
one of them always selected (and displayed differently as the other
to). When another button is clicked, I would like to unselect the
previous one and select the current one.
The closest thing that I have seen to do this is to play around with
the icons that are used for radio buttons (although I don't think that
java lets me add new text to these images). It seems like there should
be a simpler way of doing this, though.
Any thoughts?
Thanks.
.
- Prev by Date: Re: JFrame Resize Issues
- Next by Date: [announce]Celebrate Independence Day with Stylus Studio
- Previous by thread: Questions re. J2EE and Tomcat interactions/relations
- Next by thread: [announce]Celebrate Independence Day with Stylus Studio
- Index(es):