private final JSpinner left = new JSpinner(new SpinnerNumberModel(1, 0, 50,1));
private final JSpinner right = new JSpinner(new SpinnerNumberModel(1, 0, 50,1));
public Controls() {
super("spread");
add(new LabeledItem("Up:", up));
add(new LabeledItem("Down:", down));
add(new LabeledItem("Left:", left));
add(new LabeledItem("Right:", right));
up.addChangeListener(actionProvider.changeDelegate());
down.addChangeListener(actionProvider.changeDelegate());
left.addChangeListener(actionProvider.changeDelegate());
right.addChangeListener(actionProvider.changeDelegate());