Component (@NotNull Component parent, int x, int y, @NotNull Component component) { Point point = SwingUtilities.convertPoint(parent, new Point(x, y), component); return SwingUtilities.getDeepestComponentAt(component, point.x, point.y); }