void (@NotNull @Nls String message) { Balloon balloon = JBPopupFactory.getInstance().createBalloonBuilder(new JLabel(message)) .setFillColor(HintUtil.getErrorColor()) .setHideOnKeyOutside(true) .setFadeoutTime(1000) .createBalloon(); int xLoc = getFontMetrics(getFont()).stringWidth(getText()); RelativePoint relativePoint = new RelativePoint(this, new Point(xLoc, this.getHeight())); balloon.show(relativePoint, Balloon.Position.below); }