133134135136137138139140141142143
} transitionable.setSelection(currentItem); gcOn.dispose(); //dispose the transition canvas canvas.dispose(); //now the item transition ends on will be used //to start transition from next time lastItem = currentItem;
702703704705706707708709710
GC gcOn = new GC(canvas); //hRotate(imgFrom, imgTo, gcOn); gcOn.dispose(); canvas.dispose(); } }