@Override
  protected int calculateTabWidth(int tabPlacement, int tabIndex, FontMetrics metrics) {
    return super.calculateTabWidth(tabPlacement, tabIndex, metrics) - 3; //remove magic constant '3' added by parent
  }
@Override
  protected int calculateTabWidth(int tabPlacement, int tabIndex, FontMetrics metrics)