2003/09/16 21:42:06
[org.ibex.core.git] / 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);