BalloonBuilder (BalloonBuilder builder, @PopupTitle @Nullable String title) { final Color bg = UIManager.getColor("Panel.background"); final Color borderOriginal = JBColor.DARK_GRAY; final Color border = ColorUtil.toAlpha(borderOriginal, 75); return builder .setDialogMode(true) .setTitle(title) .setAnimationCycle(200) .setFillColor(bg) .setBorderColor(border) .setHideOnClickOutside(false) .setHideOnKeyOutside(false) .setHideOnAction(false) .setCloseButtonEnabled(true) .setShadow(true); }