JSpinner offsxspin = new JSpinner(offsxmodel);
JSpinner offsyspin = new JSpinner(offsymodel);
// ---------------------------------------------------
ChangeListener listener = new OffsetAnimationListener(offsxmodel,
offsymodel, view, animation);
offsxmodel.addChangeListener(listener);
offsymodel.addChangeListener(listener);