Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 676 Bytes

File metadata and controls

27 lines (20 loc) · 676 Bytes

JColorDialog

A nice looking, easy-to-use color dialog in Java.

About the project

JColorDialog is meant as an improvement over the default JColorChooser. It provides a better looking interface for to picking colors.

Example

Usage

The component is extremely easy to use. Simply add the following in your code:

Color chosenColor = JColorDialog.showColorDialog();

Alternatively, you can also provide a starting color:

Color myColor = Color.RED;
Color chosenColor = JColorDialog.showColorDialog(myColor);