private static int getDefaultWidth() {
    return TipUiSettings.getImageMaxWidth() + TipUiSettings.getTipPanelLeftIndent() + TipUiSettings.getTipPanelRightIndent();
  }
private static int getDefaultWidth()