setValue
Sets the currently selected button to the button with the given action command.
If there is no button with the given action command, all buttons will be deselected. If there are multiple buttons with the given action command, any of the matching buttons may be selected.
Parameters
value
an Object
of which toString returns an action command
Sources
jvm source
Link copied to clipboard