2003/09/16 21:42:06
authormegacz <megacz@xwt.org>
Fri, 30 Jan 2004 07:35:41 +0000 (07:35 +0000)
committermegacz <megacz@xwt.org>
Fri, 30 Jan 2004 07:35:41 +0000 (07:35 +0000)
darcs-hash:20040130073541-2ba56-42bbd49c335bbeb0469504d2166e28b88fb83971.gz

src/org/xwt/Surface.java

index d044eee..1e9e222 100644 (file)
@@ -118,6 +118,7 @@ public abstract class Surface {
 
     /** Sets the surface's x and y position. */
     public abstract void setLocation(int x, int y);
+    public void setLocation() { setLocation(root.x, root.y); }
 
     /** Sets the surface's title bar text, if applicable */
     public abstract void setTitleBarText(String s);