view.setMoviePlay(false);
    public void actionPerformed(ActionEvent ae)    {        try {            int index = Integer.parseInt(ae.getActionCommand());            switch (index) {                case START_T:                    movieStartActionHandler(view.startT, view.endT, TYPE_T);                    break;                case END_T:                    movieEndActionHandler(view.startT, view.endT, TYPE_T);                     break;                case START_Z:                    movieStartActionHandler(view.startZ, view.endZ, TYPE_Z);                      break;                case END_Z:                    movieEndActionHandler(view.startZ, view.endZ, TYPE_Z);                     break;                case ACROSS_T_CMD:                    model.setMovieIndex(MoviePlayer.ACROSS_T);                    break;                case ACROSS_Z_CMD:                    model.setMovieIndex(MoviePlayer.ACROSS_Z);                    break;                case ACROSS_ZT_CMD:                    model.setMovieIndex(MoviePlayer.ACROSS_ZT);                    break;                case PLAY_CMD:                    view.setMoviePlay(true);                    model.setPlayerState(Player.START); break;                case PAUSE_CMD:                    view.setMoviePlay(false);                    model.setPlayerState(Player.PAUSE); break;                    case STOP_CMD:                    view.setMoviePlay(false);                    model.setPlayerState(Player.STOP);                     break;                case EDITOR_CMD:                    editorActionHandler(); break;                 case MOVIE_TYPE_CMD:                    int i = ((JComboBox) ae.getSource()).getSelectedIndex();                    model.setMovieType(view.getMovieType(i));                    break;            }        } catch(NumberFormatException nfe) {             throw new Error("Invalid Action ID "+ae.getActionCommand(), nfe);         }            }