private int getMaxRowWidth() {
    if (myForcedWidth > 0) {
      return myForcedWidth;
    }
    int result = getSize().width;
    if (result == 0) {
      result = Math.min(super.getPreferredSize().width, maximumWidth);
    }
    return result;
  }
private int getMaxRowWidth()