Rectangle.setLocation
Class Overview | Class Members | 
  This Package | 
All Packages
 public void setLocation( Point p )
Parameters
-  p 
-  the new location for the point.
    
Description
 Moves the rectangle to the specified location.
 
 This method is included for completeness, to parallel the
 setLocation method of Component.
  
See Also
     setLocation
  
 public void setLocation( int x,
                         int y )
Parameters
-  x 
-  the x coordinate of the new location.
    
-  y 
-  the y coordinate of the new location.
    
Description
 Moves the rectangle to the specified location.
 
 This method is included for completeness, to parallel the
 setLocation method of Component.
  
See Also
     setLocation