Cherple
Cherple

Reputation: 791

JideTabbedPane close button color

I am using JideTabbedPane and i have the close button displayed using the following:

myTabbedPane.setShowCloseButtonOnTab(true);

The problem is my tabbedpane's theme is a dark color and the "X" close button is an "X" which is black in color. The color of my tabs are set using the "ColorProvider", but i don't see anything in the documentation mentioning changing the color of the close button.

Upvotes: 0

Views: 118

Answers (1)

Tamara Koliada
Tamara Koliada

Reputation: 1194

That property set in BasicJideTabbedPaneUI :

protected Color _closeButtonSelectedColor;
protected Color _closeButtonColor;

If you want change color of this button you should set new Color via UIDefaults or modify existing code in https://www.javatips.net/api/jide-oss-master/src/com/jidesoft/swing/JideTabbedPane.java

Upvotes: 0

Related Questions