I have a JTable with BasicScrollBarUI, I set the headers background color: table.getTableHeader().setBackground(GuiConstants.backgroundColor);
and the scrolbar background color: public class ScrollBarUI extends BasicScrollBarUI {
@Override
protected void paintTrack(Graphics g, JComponent c, Rectangle trackBounds) {
c.setBackground(GuiConstants.backgroundColor);
}
}
I still have a square between them that its color won't change. does anybody knows how to change it also to their color?
thanks