Java JCheckBoxMenuItem
Java JCheckBoxMenuItem
Java JCheckBoxMenuItem
Nested class
Constructor
Constructor Description
JCheckBoxMenuItem(String text, boolean It creates a check box menu item with the specified
b) text and selection state.
JCheckBoxMenuItem(String text, Icon It creates a check box menu item with the specified
icon, boolean b) text, icon, and selection state.
Methods
String getUIClassID() It returns the name of the L&F class that renders
this component.
Output: