Each window Component has methods getX(), getY() for the origin ofthe Component and getWidth(), getHeight() for the size. I hope thathelps.