misc cleanup
[nikiroo-utils.git] / src / jexer / THScroller.java
index a3599a9c25e09071b0217b1f86cb11f1aef40604..3539ff4e874d579092be6c83cd05bc3dfa7f40cb 100644 (file)
@@ -158,12 +158,7 @@ public final class THScroller extends TWidget {
         final int width) {
 
         // Set parent and window
-        super(parent);
-
-        setX(x);
-        setY(y);
-        setHeight(1);
-        setWidth(width);
+        super(parent, x, y, width, 1);
     }
 
     /**