final int width) {
// Set parent and window
- super(parent);
-
- setX(x);
- setY(y);
- setHeight(1);
- setWidth(width);
+ super(parent, x, y, width, 1);
}
/**
return;
}
- if ((mouse.getMouse1())
+ if ((mouse.isMouse1())
&& (inScroll)
&& (mouse.getX() > 0)
&& (mouse.getX() < getWidth() - 1)