void (RelativePoint aPoint, int direction, @NlsContexts.Label String text) { if (ApplicationManager.getApplication().isUnitTestMode()) return; JLabel label = new JLabel(text); label.setHorizontalAlignment(JLabel.CENTER); final CalloutComponent callout = new CalloutComponent(label); callout.show(direction, aPoint); }