Learn something new every day
More Info... by email
In software, a radio button is a small, hollow circle adjacent to text in a configuration menu box. Clicking on the radio button places a solid dot in the circle, selecting the option. Clicking a selected radio button de-selects it, removing the dot. As one radio button is selected, others within the category switch off.
The radio button gets its name from the way a physical radio is controlled. Radios typically feature a line of preset station buttons; when one button is pressed, it releases a previously pressed button. Radio buttons present an either-or opportunity for action. This separates them from checkboxes, also used in software. Checkboxes are used when multiple selections are possible within a category.
Checkboxes, radio buttons, toolbars and workspace windows are all elements of the graphical user interface (GUI). This is the part of the software the user can see and interact with verses the hidden coding “behind the curtain.” A clean, easy-to-understand and attractive GUI can sell an adequate program, while a complicated or counter-intuitive GUI can sink an otherwise good program. Typically, the goal of a commercial programmer is to create software that marries an appealing GUI to solid functionality.
In designing software then, it’s important to choose the right graphical elements for the right job. When user configuration calls for choosing just one selection among two or more choices, the radio button is the right GUI element, offering foolproof functionality to the user. If multiple choices are possible, checkboxes are appropriate.
Radio button selections are not processed until the user clicks a push button, commonly “Save,” “OK,” or “Apply.” If this action is omitted or the user inadvertently clicks “Close” or “Cancel” first, previous selections remain in force. Microsoft™, Apple™ and Linux™ operating systems and programs utilize checkboxes or radio buttons in virtually all configuration menus. Radio buttons or checkboxes are also present in third party software that requires user configuration.
Code snippets and Java-based programs like JRadioButton are freely available to programmers for adding radio buttons to software. There are also tutorials and plenty of information for the burgeoning software author.
O.K. I always wondered why radio buttons were called that. I guess I didn't think about the software developers remembering (or being old enough to remember) when radios were operated by the pushbuttons.
I remember them well. You pulled them part way out and then pushed them all the way in to set your presets for your radio stations.
I'll remember reading this article the next I'm filling out a form online that the "radio" buttons are the ones that present an either/or choice. That's a good way to remember how they function. When you’re old enough to remember pushbutton radios, little memory aids are a good thing.
One of our editors will review your suggestion and make changes if warranted. Note that depending on the number of suggestions we receive, this can take anywhere from a few hours to a few days. Thank you for helping to improve wiseGEEK!