Home > Net >  Java - how to create a color palette?
Java - how to create a color palette?

Time:06-07

I am writing a color picker. I have a panel on which a palette should be placed on which you can choose a color. How can I make such a palette or are there any libraries for this?

CodePudding user response:

Swing have the built-in JColorChooser widget.

This is a help page about it: https://docs.oracle.com/javase/tutorial/uiswing/components/colorchooser.html

  • Related