void (@NlsSafe String text, MessageType type) { JBPopupFactory.getInstance() .createHtmlTextBalloonBuilder(text, type, null) .setHideOnClickOutside(true) .createBalloon() .show(RelativePoint.getSouthWestOf(myReloadButton.getRootPane()), Balloon.Position.atRight); }