{
super.toolAcquired( c );
c.setCursor( zoomCsr[ 0 ]);
if( c instanceof JComponent ) {
final JComponent jc = (JComponent) c;
if( actionZoomOut == null ) actionZoomOut = new MenuAction( "zoomOut",
KeyStroke.getKeyStroke( KeyEvent.VK_ALT, InputEvent.ALT_DOWN_MASK, false )) {
public void actionPerformed( ActionEvent e ) {
c.setCursor( zoomCsr[ 1 ]);
}
};
if( actionZoomIn == null ) actionZoomIn = new MenuAction( "zoomIn",
KeyStroke.getKeyStroke( KeyEvent.VK_ALT, 0, true )) {
public void actionPerformed( ActionEvent e ) {
c.setCursor( zoomCsr[ 0 ]);
}
};