int shiftx = (Integer)spShiftX.getValue();
int shifty = (Integer)spShiftY.getValue();
Board newBoard = BoardManager.getResized(originalScheme.start,
(Integer)spWidth.getValue(),(Integer)spHeight.getValue(),
shiftx,shifty);
newBoard.doFramesToStability();
// Construct new scheme
Scheme newScheme = new Scheme(originalScheme);
ListIterator<Move> iterator = newScheme.moves.listIterator();
while (iterator.hasNext()) {
Move move = iterator.next();