@Override
  public Dimension getPreferredSize() {
    Integer forcedWidth = UIUtil.getClientProperty(this, FORCED_WIDTH);
    int minWidth = forcedWidth == null ? scale(getDocPopupMinWidth()) : forcedWidth;
    int maxWidth = forcedWidth == null ? scale(getDocPopupMaxWidth()) : forcedWidth;
    return getPreferredSize(minWidth, maxWidth, scale(getDocPopupMaxHeight()));
  }
@Override
  public Dimension getPreferredSize()