misc cleanup
[fanfix.git] / src / jexer / TField.java
index 406c57567bc2871e6c13e1bed93c275ef4b75ce8..083efdda3853ad6898e9b31c010ae01c703ce503 100644 (file)
@@ -139,13 +139,9 @@ public class TField extends TWidget {
         final TAction enterAction, final TAction updateAction) {
 
         // Set parent and window
-        super(parent);
-        setX(x);
-        setY(y);
-        setHeight(1);
-        setWidth(width);
-        setHasCursor(true);
+        super(parent, x, y, width, 1);
 
+        setHasCursor(true);
         this.fixed = fixed;
         this.text = text;
         this.enterAction = enterAction;