Niranjan Boora
Niranjan Boora

Reputation: 16

How to change the color chooser label of javaFX ColorPicker

When you add a ColorPicker element, the color chooser label shows color text (as Gray here) for standard colors, other hexadecimal value. I want to show the custom text – like "Choose Color". Any way to do this?

Upvotes: 0

Views: 664

Answers (1)

Niranjan Boora
Niranjan Boora

Reputation: 16

With some discussions, it is found one can override the color label chooser by getting access to label as - get skin of color picker then get display label.

Upvotes: 0

Related Questions