HintHint (@NotNull JComponent component, @NotNull Point point, boolean above) { return new HintHint(component, point) .setPreferredPosition(above ? Balloon.Position.above : Balloon.Position.below) .setAwtTooltip(true) .setFont(StartupUiUtil.getLabelFont().deriveFont(Font.BOLD)) .setBorderColor(HintUtil.getHintBorderColor()) .setTextBg(HintUtil.getInformationColor()) .setShowImmediately(true); }