public static void showText(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);
  }
public static void showText(RelativePoint aPoint, int direction, @NlsContexts.Label String text)