Skip to content

JColorChooser

Remove and display the specified ColorChooserPanel from JColorChooser.

Section titled “Remove and display the specified ColorChooserPanel from JColorChooser.”
Remove and display the specified ColorChooserPanel from JColorChooser.

ColorChooserPanel

Remove the tabs and other elements from the specified ColorChooserPanel in the JColorChooser and set them in the JDialog.

Change the swatch size in JColorChooser

ColorChooserSwatchSize

This changes the size of each swatch used in the SwatchChooserPanel of JColorChooser.

Display text with TitledBorder in the JColorChooser preview panel.

Section titled “Display text with TitledBorder in the JColorChooser preview panel.”
Display text with TitledBorder in the JColorChooser preview panel.

ColorChooserPreviewText

This toggles whether to display text with a TitledBorder in the JColorChooser preview panel.

Disable the JSlider and JSpinner used for alpha settings in the JColorChooser RGB color selection panel.

Section titled “Disable the JSlider and JSpinner used for alpha settings in the JColorChooser RGB color selection panel.”
Disable the JSlider and JSpinner used for alpha settings in the JColorChooser RGB color selection panel.

ColorTransparencySelectionEnabled

This disables or hides the JSlider and JSpinner used for alpha settings in the RGB color selection panel of JColorChooser.

Save and restore the Recent color palette located in the Swatches tab of JColorChooser.

Section titled “Save and restore the Recent color palette located in the Swatches tab of JColorChooser.”
Save and restore the Recent color palette located in the Swatches tab of JColorChooser.

SaveRestoreRecentSwatch

This setting allows you to save and restore the latest color palette located in the sample tab of JColorChooser.

Add an Alpha value to the hexadecimal color code displayed in the RGB color selection panel of JColorChooser.

Section titled “Add an Alpha value to the hexadecimal color code displayed in the RGB color selection panel of JColorChooser.”
Add an Alpha value to the hexadecimal color code displayed in the RGB color selection panel of JColorChooser.

ColorChooserRgbaHexCode

This changes the hexadecimal color code displayed in the JColorChooser's RGB color selection panel from 6 RGB digits to 8 RGBA digits, which includes an Alpha value.

Set Mnemonic for the JRadioButton RGB color selection in JColorChooser.

Section titled “Set Mnemonic for the JRadioButton RGB color selection in JColorChooser.”
Set Mnemonic for the JRadioButton RGB color selection in JColorChooser.

RgbRadioButtonMnemonic

This enables the Mnemonic displayed in the text of the JRadioButton used for RGB selection, which is located within the RGB color selection panel of JColorChooser.