misc cleanup
[fanfix.git] / src / jexer / TText.java
index 1f1359fb01cd2e40afec8165616e0d1e1df32ba2..6d2fe27faaf6e3ae9652761acd52e9c7ea8d1830 100644 (file)
@@ -243,12 +243,8 @@ public final class TText extends TWidget {
         final int y, final int width, final int height, final String colorKey) {
 
         // Set parent and window
-        super(parent);
+        super(parent, x, y, width, height);
 
-        setX(x);
-        setY(y);
-        setWidth(width);
-        setHeight(height);
         this.text = text;
         this.colorKey = colorKey;