boolean contains(JComponent c, int x, int y) { return c.inside(x,y); }
public boolean contains(JComponent c, int x, int y) {  return (x >= 0) && (x < c.getWidth()) && (y >= 0) && (y < c.getHeight()); }
    boolean contains(JComponent c, int x, int y)    {	return c.inside(x,y);    }