@Override public void setBackgroundAt(int index, Color background) { super.setBackgroundAt(index, background); final Component comp = getTabComponentAt(index); if (comp instanceof TabComponent) ((TabComponent) comp).setBackgroundAll(background); }