misc cleanup
[fanfix.git] / src / jexer / TRadioButton.java
index 23663bb2c84d6ec0894d36bd033a3b47037711e8..685f1f484d752072d11eca248f997426a0070ce1 100644 (file)
@@ -101,13 +101,9 @@ public final class TRadioButton extends TWidget {
         final String label, final int id) {
 
         // Set parent and window
-        super(parent);
+        super(parent, x, y, label.length() + 4, 1);
 
-        setX(x);
-        setY(y);
-        setHeight(1);
         this.label = label;
-        setWidth(label.length() + 4);
         this.id = id;
 
         setHasCursor(true);