public void actionPerformed(ActionEvent e) {
        	  if (e.getActionCommand() == "16") {
        		  if (imViewer.getImage()!=null && imViewer.getImage().getHeight()%16 != 0) {
        			  JOptionPane.showMessageDialog(f,Utils.lang("errSpriteHeight"));
        			  smode=1;
        		  } else smode=2;
        	  } else {
        		  smode=1;
        	  }
          }