| Package | Description | 
|---|---|
| java.awt | Contains all of the classes for creating user
interfaces and for painting graphics and images. | 
| Modifier and Type | Method and Description | 
|---|---|
| Checkbox | CheckboxGroup. getCurrent()Deprecated. 
 As of JDK version 1.1,
 replaced by  getSelectedCheckbox(). | 
| Checkbox | CheckboxGroup. getSelectedCheckbox()Gets the current choice from this check box group. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected abstract java.awt.peer.CheckboxPeer | Toolkit. createCheckbox(Checkbox target)Creates this toolkit's implementation of  Checkboxusing
 the specified peer interface. | 
| void | CheckboxGroup. setCurrent(Checkbox box)Deprecated. 
 As of JDK version 1.1,
 replaced by  setSelectedCheckbox(Checkbox). | 
| void | CheckboxGroup. setSelectedCheckbox(Checkbox box)Sets the currently selected check box in this group
 to be the specified check box. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2017, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.