protected static final int BUTTON_HEIGHT = 13;
public TrayScrollBar() {
super();
setLayoutManager(new ScrollBarLayout(transposer) {
protected Rectangle layoutButtons(ScrollBar scrollBar) {
Rectangle bounds = transposer.t(scrollBar.getClientArea());
Dimension buttonSize = new Dimension(bounds.width, BUTTON_HEIGHT);
getButtonUp().setBounds(transposer.t(new Rectangle(bounds.getTopLeft(), buttonSize)));
Rectangle r = new Rectangle (bounds.x, bounds.bottom() - buttonSize.height, buttonSize.width, buttonSize.height);