import java.awt.Component;
import java.awt.Container;
import java.awt.Point;
public class Util{
public static final Component getChildAt(Container container, Point p) {
Component c = container.getComponentAt(p);
return c == null || c.getParent() != container ? null : c;
}
}