Example usage for javax.swing JCheckBox getAccessibleContext

List of usage examples for javax.swing JCheckBox getAccessibleContext

Introduction

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

Prototype

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

Source Link

Document

Gets the AccessibleContext associated with this JCheckBox.

Usage

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

public JCheckBox appendCheckBox(String caption, String label, boolean selected) {
    JCheckBox checkBox = new JCheckBox(label, selected);
    checkBox.getAccessibleContext().setAccessibleDescription(caption);
    components.put(caption, checkBox);//  w  ww. ja  va2s  .c o m
    append(caption, checkBox);
    return checkBox;
}