Does anyone know how to check if an object is in an oval drawn on a java applet screen.

I'm not sure of the math needed to check this, if you post a code can you please have it "System.out.println("In the oval");"