Retrieves the rectangular area that this button occupies.
public final Rectangle getRect()
Returns a Rectangle object that specifies the area that this button occupies. If this button has no parent, this method returns null.