What is a Radio Button?

Article Details
  • Written By: R. Kayne
  • Edited By: O. Wallace
  • Last Modified Date: 18 October 2019
  • Copyright Protected:
    Conjecture Corporation
  • Print this Article
Free Widgets for your Site/Blog
Octopuses and other cephalopods sometimes change color while sleeping; this could indicate that they are dreaming.  more...

November 21 ,  1969 :  The first Advanced Research Projects Agency Network (ARPNET) link was permanently established for the first time.  more...

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.


You might also Like


Discuss this Article

Post 1

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.

Post your comments

Post Anonymously


forgot password?