private boolean hasTipLocation( Component owner ) {
		if( !(owner instanceof JComponent) )
			return false;

		AWTEvent e = EventQueue.getCurrentEvent();
		MouseEvent me;
		if( e instanceof MouseEvent )
			me = (MouseEvent) e;
		else {
			// no mouse event available because a timer is used to show the tooltip
			// --> create mouse event from current mouse location
			PointerInfo pointerInfo = MouseInfo.getPointerInfo();
			if( pointerInfo == null )
				return false;

			Point location = new Point( pointerInfo.getLocation());
			SwingUtilities.convertPointFromScreen( location, owner );
			me = new MouseEvent( owner, MouseEvent.MOUSE_MOVED, System.currentTimeMillis(),
				0, location.x, location.y, 0, false );
		}

		return me.getSource() == owner &&
			((JComponent)owner).getToolTipLocation( me ) != null;
	}
Checks whether the owner component returns a tooltip location in
JComponent.getToolTipLocation(MouseEvent).
flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatPopupFactory.java