Package | Description |
---|---|
javax.swing |
Provides a set of "lightweight"
(all-Java language) components that,
to the maximum degree possible, work the same on all platforms.
|
javax.swing.colorchooser |
Contains classes and interfaces used by the
JColorChooser
component. |
javax.swing.plaf.basic |
Provides user interface objects built according to the
Basic look and feel.
|
Modifier and Type | Method and Description |
---|---|
static JDialog |
JColorChooser.createDialog(Component c,
String title,
boolean modal,
JColorChooser chooserPane,
ActionListener okListener,
ActionListener cancelListener)
Creates and returns a new dialog containing the specified
ColorChooser pane along with "OK", "Cancel", and "Reset"
buttons. |
Modifier and Type | Method and Description |
---|---|
void |
AbstractColorChooserPanel.installChooserPanel(JColorChooser enclosingChooser)
Invoked when the panel is added to the chooser.
|
void |
AbstractColorChooserPanel.uninstallChooserPanel(JColorChooser enclosingChooser)
Invoked when the panel is removed from the chooser.
|
Modifier and Type | Field and Description |
---|---|
protected JColorChooser |
BasicColorChooserUI.chooser
JColorChooser this BasicColorChooserUI is installed on.
|
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.