private void setTopBorder() {
    if (myCurrentPromotion == null && (SystemInfo.isWin10OrNewer || SystemInfo.isMac)) {
      setBorder(JBUI.Borders.customLine(TipUiSettings.getImageBorderColor(), 1, 0, 0, 0));
    }
    else {
      setBorder(null);
    }
  }
private void setTopBorder()