Example usage for javax.swing JRadioButton getAccessibleContext

List of usage examples for javax.swing JRadioButton getAccessibleContext

Introduction

In this page you can find the example usage for javax.swing JRadioButton getAccessibleContext.

Prototype

@BeanProperty(bound = false, expert = true, description = "The AccessibleContext associated with this Button")
public AccessibleContext getAccessibleContext() 

Source Link

Document

Gets the AccessibleContext associated with this JRadioButton.

Usage

From source file:com.eviware.soapui.support.components.SimpleForm.java

public JRadioButton appendRadioButton(String caption, String label, ButtonGroup group, boolean selected) {
    JRadioButton radioButton = new JRadioButton(label, selected);
    radioButton.getAccessibleContext().setAccessibleDescription(caption);
    if (group != null) {
        group.add(radioButton);//from   w w w  .ja v a 2 s.c o  m
    }
    components.put(caption, radioButton);
    append(caption, radioButton);
    return radioButton;
}