public void update() {
    setHorizontalAlignment(SwingConstants.LEFT);
    if (myLayout.isToDrawTabs() == TabContentLayout.TabsDrawMode.HIDE) {
      myBorder.setBorderInsets(0, 0, 0, 0);
    }

    updateTextAndIcon(myContent, isSelected(), false);
  }
public void update()