void (@NotNull RelativePoint point) { if (isRealPopup()) { if (myPopup != null) { myPopup.setLocation(point.getScreenPoint()); } } else { if (myCurrentIdeTooltip != null) { myCurrentIdeTooltip.setPoint(point.getPoint()); myCurrentIdeTooltip.setComponent(point.getComponent()); IdeTooltipManager.getInstance().show(myCurrentIdeTooltip, true, false); } else { Point targetPoint = point.getPoint(myComponent.getParent()); myComponent.setLocation(targetPoint); myComponent.revalidate(); myComponent.repaint(); } } }