javax.swing.colorchooser (Java SE 17 & JDK 17)
Description: declaration: module: java.desktop, package: javax.swing.colorchooser
Keywords: javax.swing.colorchooser package

Module java.desktop

# Package javax.swing.colorchooser

package javax.swing.colorchooser
Contains classes and interfaces used by the `JColorChooser` component.

Note: Most of the Swing API is not thread safe. For details, see Concurrency in Swing, a section in The Java Tutorial.

## Related Documentation

This document forms the complete API specification. For overviews, tutorials, examples, guides, and tool documentation, please see:

- How to Use Color Choosers, a section in The Java Tutorial
- Internationalization Overview
- Input Method Framework Overview

Since:
  1.2

- Related Packages
  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.
- Class
  Description
  AbstractColorChooserPanel
  This is the abstract superclass for color choosers.
  ColorChooserComponentFactory
  A class designed to produce preconfigured "accessory" objects to insert into color choosers.
  ColorSelectionModel
  A model that supports selecting a `Color`.
  DefaultColorSelectionModel
  A generic implementation of `ColorSelectionModel`.