Results 1 to 2 of 2
Thread: Select one of X radio buttons
- 02-25-2010, 06:10 PM #1
Member
- Join Date
- Feb 2010
- Posts
- 12
- Rep Power
- 0
- 02-25-2010, 06:30 PM #2
Senior Member
- Join Date
- Jul 2009
- Posts
- 1,143
- Rep Power
- 5
Add an ItemListener to the button. When its selected disable the other buttons.
Read the section from the Swing tutorial on "How to Write an Item Listener" for more information.
Similar Threads
-
Java Radio Buttons
By dbashby in forum New To JavaReplies: 4Last Post: 09-21-2009, 12:07 AM -
Deselect Radio Buttons
By linux1man in forum AWT / SwingReplies: 7Last Post: 03-21-2009, 04:01 AM -
How to use Radio Buttons
By Java Tip in forum SWTReplies: 0Last Post: 07-25-2008, 02:26 PM -
radio buttons and paint
By gtraylo in forum Java AppletsReplies: 1Last Post: 04-19-2008, 12:43 PM -
property for radio buttons
By swapnanair in forum JavaServer Pages (JSP) and JSTLReplies: 2Last Post: 12-03-2007, 08:39 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks