Retrieves the rectangle that represents the client area of the control.
public final Rectangle getClientRect()
Returns a Rectangle object that represents the client area of the control. Because client coordinates are relative to the upper-left corner of the client area of the control, the coordinates of the upper-left corner of the returned rectangle are (0,0).