Undo A Folder Move

I accidentally dragged a picture onto the gray area where the title of a opened folder is and I want to get rid of the picture from there.

Do you mean the icon for a folder? If so, you can just use the Edit/Cut command and it will remove the custom icon and restore the original folder icon.

Similar Messages

  • Is there a way to set extension specific download folders in safari? aka .docs to one folder, .mov to another, etc

    Is there a way to set extension specific download folders in safari? aka .docs to one folder, .mov to another, etc
    I'm trying to use safari to organize my downloads so i have less clutter and know where things are

    Nothing "built in" senses file type and sorts by it that  know of, and I've not heard of any third-party options.
    You can have pretty good control by slight mods to how you download:
    1--Set up a dedicated Downloads folder in Documents if you don't have one. Point all you browsers to that folder for catching downloads.
    from here you have two options:
    2A--always display that folder sorted by "Kind." That put files of similar types together
    2B--within the Downloads folder, create subfolders for different file types. If you do this, instead of clicking files for downloading, right-click them. One of the contextual menu options the right-click will reveal is "Download Linked Files as...." and will force a dialog box from which you can select the subfolder that will hold that file type.

  • Mail from Trash folder moves itself back to Inbox

    I've been having a bit of an odd problem lately -- items from my Trash automatically re-appear in my inbox. It seems to have started with an e-mail from about three months ago, and whenever I click away to another folder (Sent, Drafts, etc.) and then click back to Inbox, another e-mail (in sequence according to date) will re-appear.
    I have been simply deleting the revived e-mails (assuming they would go back to the trash folder), but I just found out that if I delete one of these e-mails, they are deleted for good.
    My trash folder contains approximately 2700 e-mails, and I know I need to look for a mail archival program, but the problem isn't related to a "limit" on e-mails in a folder as far as I can tell.
    Anybody have any idea as to what might cause this problem?
    Any info would sure be appreciated!
    Thanks in advance,
    DAVE
    MacBookPro   Mac OS X (10.4.6)  

    Is there a reason you keep accumulating mail in the Trash mailbox and never permanently erase it? Using the Trash for archiving purposes just doesn't make sense to me. Why don't you create a custom "On My Mac" mailbox folder for that?
    The following is what I would recommend to someone having your problem in "normal" circumstances. Your situation is clearly unusual, so don't blame me if it doesn't work for you
    1. Quit Mail.
    2. In the Finder, go to HOME/Library/Mail/. You may want to make a backup copy of this folder, just in case something goes wrong -- e.g. by dragging it to the Desktop while holding the Option (Alt) key down.
    3. Locate the Envelope Index file and move it to the Desktop (to be deleted later if this fixes the problem).
    4. Launch Mail again and let it finish re-indexing everything -- it says it's "importing", but it's just re-creating the Envelope Index file.

  • A LOT of iTunes broken links/tracks after Music folder move...

    So yeah, I'm getting a TON of broken links / dead track links in iTunes after having to do two things to my iTunes install recently and I'm at wits end trying to fix it.
    I keep my iTunes Music Folder on an external and share the iTunes library between my work Macbook Pro and my home Macbook. Every Friday I drag my iTunes folder and all contents from my MBP onto an external and replace the iTunes folder on the 'weekend' MB, then do the same back on Monday. I keep my iTunes music 'View' as 'Date Added' so that I can always be listening to whatever is newest. It's how I roll.
    Well, this week I had some data problems during the transfer and had to use a previous week's iTunes Music Folder, which was fine as I hadn't added much this week.
    I also got a new external because the old one was getting a little shady, so after doing the iTunes Music Folder replacement I moved my music all over to a new external drive, told iTunes where it all was at. iTunes did it's thing, 'organized' my stuff and all seemed good - until I got back deeper into the catalogue of music and started getting a LOT of broken tracks. The songs are still there, in the correct folders and all, but for some reason iTunes isn't finding them.
    When I say a LOT, I mean so far it's hundreds of my 13,000 songs.
    Now I COULD use the 'Super Remove Dead Tracks' script from Doug's to find all the broken files then re-add the whole library, but it will add all the old songs out of order because they will get a new 'Added' date.
    I could also manually move thru my whole library holding down the arrow key for 'Next' to find all the broken links then go thru, select them, and use the 'iTunes Track CPR' script from Doug's to re-add them to the library with ratings intact, but still they will be out of order time-wise.
    I cannot find a script that will parse my library, find broken links, and re-associate them with their tracks, nor can I figure out why this happened and any other way to fix it. Repairing permissions hasn't helped. Any other ideas?

    Just to follow up with a more comprehensive example of looping through a Library to detect & repair "missing" file-tracks:
    <pre>
    property kErrAENoSuchObject:(-1728)
    on run
    tell (application "iTunes")
    set theLibraryPlaylist to (first library playlist)
    tell theLibraryPlaylist
    set theNumCandidateFileTracks to (count (every file track))
    repeat with i from 1 to theNumCandidateFileTracks by 1
    -- Get a reference to this file-track
    set thisFileTrackRef to (file track i)
    -- Get this file-track's info (useful for debugging, etc.)
    set thisArtist to (artist of thisFileTrackRef)
    set thisAlbum to (album of thisFileTrackRef)
    set thisName to (name of thisFileTrackRef)
    set thisFileTrackInfo to (thisArtist & " > " & thisAlbum & " > " & thisName)
    -- Display a diagnostic message every 500th file-track
    if ((i mod 500) = 0) then
    tell me
    display dialog ("Checking file-track #" & i & ": " & ¬
    return & return & thisFileTrackInfo) ¬
    buttons {"Cancel", "•"} giving up after 2.5
    end tell -- me
    end if
    -- Retrieve this file-track's target file (an AS 'alias' object), if any
    -- {!!! NOTE: Due to a bug in iTunes 7.x+ (esp. when downloading), AS might
    -- be unable to access the 'location' field of some file-tracks !!!}
    try
    set thisFileTrackTargetFile to (location of thisFileTrackRef)
    on error errMsg2 number errNum2
    -- Check whether it's that bizarre error: (-1728) "Can't get location of …"
    if (errNum2 = (kErrAENoSuchObject of me)) then
    -- Set up to just skip this track (assume it's being downloaded)
    set thisFileTrackTargetFile to (anything) -- (Other than 'missing value')
    else (* Re-signal all other errors *)
    error errMsg2 number errNum2
    end if
    end try
    -- Check whether this file-track is "missing" its target file
    if (thisFileTrackTargetFile = (missing value))
    -- Inform the user
    tell me
    display dialog ("Repairing this missing file-track: " & ¬
    return & return & thisFileTrackInfo) ¬
    buttons {"Cancel", "•"} giving up after 2.5
    end tell -- me
    -- Set up this target file's new pathname (e.g., via explicit user input, or
    -- better yet automatically reconstructed from this file-track's tags such
    -- as Artist, Album, Name, Kind, etc.)
    -- ... Translate this file-track's kind into a filename-extension
    set thisKind to (kind of thisFileTrackRef)
    set thisNameExt to "m4a" -- ... Default
    if ({thisKind} is in {("Protected AAC audio file")}) then -- Older DRM'd file
    set thisNameExt to "m4p"
    else if ({thisKind} is in {("MPEG audio file")}) then -- MP3
    set thisNameExt to "mp3"
    else if (thisKind contains "movie file") then -- E.g., interactive booklet
    set thisNameExt to "mov"
    end -- (thisKind = "MPEG audio file") ... else if ... else ...
    -- ... Auto-build this target file's new pathname
    set thisTargetFileNewPathname to ("New Disk:New Path:" & ¬
    thisArtist & ":" & thisAlbum & ":" & thisName & "." & thisNameExt)
    -- Assign this new target file (as an AS 'alias' object) to this file-track
    -- (This is the crucial step that was impossible in older versions of iTunes!)
    set (location of thisFileTrackRef) to (alias thisTargetFileNewPathname)
    end if -- (thisFileTrackTargetFile = (missing value))
    end repeat -- with i from 1 to theNumCandidateFileTracks by 1
    end tell -- theLibraryPlaylist
    end tell -- (application "iTunes")
    end run
    </pre>
    Regards,
    --P

  • I want to move a file from folder but whole folder moves

    i want to move a file from a folder but the whole folder moves

    Maybe i misunderstand you but i ll try. choose tools from menu and choose general
    at general part look bottom there is "save to where"( or likr this) part. I think your files are downloaded there.

  • Question about folder move

    Dear all,
    When moving a folder to a place where a folder of the same name already exists, I am being asked whether I want to stop or replace and then the source folder deletes the contents of the destination folder.
    Is there a way to have the source folder not deleting the destination's folder contents ?
    E.g.:
    Folder 1/Folder 2/File 1
    Folder 3/Folder 2/File 2
    I then move Folder 2 from Folder 1 to Folder 3 and the result is:
    Folder 3/Folder 2/File 1
    Instead of
    Folder 3/Folder 2/File 1
    /File 2
    Thanks for your help,
    Laurent

    Hi Laurent,
    Welcome to Discussions! As Barney mentioned, the Finder doesn't function that way. In fact, it has thrown off many an OS 9 and Windows user in the past and takes some getting used to. However, if you're intending to specifically merge two folders, you can use the FileMerge utility which is installed as part of the (optional) Developer Tools package. You will find this on your Leopard DVD.
    There was a short article in MacWorld way back in 2006 regarding its usage. You'll find it just short of halfway down this page. I also thought this comment on LowEndMac gave a good representation of the issue if you care to read.
    Yang

  • Syncing photos: folder and then folder.mov - wth?

    Ok so I want to sync photos from iTunes to my iPhone 4S. This never used to be an issue so I have no idea what changed.  But I have a folder called iPhotos on my Mac that has the photos that I want to sync via iTunes to my iPhone (pictures of my wife, car, etc). When I go into iTunes and click the Photos tab and then "sync photos" then I choose the iPhotos folder, then hit sync...it creates two folders on my iPhone under the photos app. The first is called "iPhotos" and has all 23 pictures. The second is a folder called iPhotos.mov that has the same 23 photos. I tried renaming the folder, etc, and it still does it. Now I have no choice but to choose "all folders" under the photos tab in iTunes, so perhaps it's syncing the "iPod Photo Cache" as well?  How can I work around this?

    I'm having the identical issue.

  • Frotrow do not open the Folder Movies

    In the main screen i can choose Movies.
    In this i also can chosse the other folder like trailer, podcasts or musicvideos; only Movis does not function.
    I reinstalled Frontrow, but the same.
    It looks like it will open but its freeze...
    Everything else is running in Frontrow.
    Can somebody help me????

    My front row 1.3.1 hangs while trying to access movies. Front Row plays television shows and trailers just fine. The only way to get out of this hang is to force quit. I waited to see if it just takes time and over ten minutes no change. I did try and delete Front row preferences and still hangs. All other video in iTunes and QuickTime work fine. Those apps are all up to date with latest versions.

  • Exchange 2003 Public folder move to exchange2010

    we have been running exchange 2010 and exchange 2003 for some time and now its time to remove exchange 2003 while its been running it hasn't been doing anything.
    Exchange 2003 is replicating already to exchange 2010 a while ago I did do a move replication (over a 2 months ago got side tracked)
    now under public folder instance on exchnge2003
    I just see one folder "Schedule + free Busy information -First Administrative Group"
    and when you look at replication status on exchange 2003 I see this
    PUBLIC FOLDER HIERARCHY                   12/08/2014 2 In Sync
    Schedule+ Free Busy Information- first                      2 both Modified
    System Configuration                             10/08/2012 2 local modified
    I need to get the information over to exchange 2010.
    Do I go with a move MoveAllReplicas.ps1 will this overwrite whats on 2010 ?
    What is the safest way for me to get this information over to exchange 2010 any suggestions?
    Thanks for your time

    Hi,
    Please check if the links below are helpful:
    http://technet.microsoft.com/en-us/library/bb331970(v=EXCHG.141).aspx
    http://exchangeserverpro.com/migrate-public-folders-from-exchange-2003-to-exchange-server-2010/
    Since this issue is more related to the Exchange side, I'd recommend you post your question to the Exchange forum:
    http://social.technet.microsoft.com/Forums/en-US/home?category=exchangeserver
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents,
    and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
    Thank you for your understanding.
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • The folder "Movies" can't be opened because you don't have permission to see its contents.

    Okay, so I just got a new macbook air, and was trying to put specific files, such as music and photos, onto my new mac from my old mac through my external harddrive.
    At first it worked fine, but then I backed up my new computer on the same external harddrive because I was afraid that when it said it would open a different iphoto library I would lose my new one. if that makes any sense?
    Now all of my old folders on the external harddrive have the little red dot with a line through it and won't let me open them or save them. I tried doing a new backup on the old computer to see if that would cancel out the new computer taking priority or something but that didn't do anything.
    anyone know what I can do? I'm desperate!

    hi,
    Are you adding "yourself" as the short name of the Mac User Account on this computer ?
    This is obviously looking at one for a .plist rather than a containing folder but the actions should be the same.
    I am already in this list so "I" can't be selected
    Ralph Johns in this list is the first Mac Account created on this Mac.
    It also happens to be the name I use on my other two Macs.
    When I migrated one over to this computer I had to change the Account name  (to ralph).
    Drag and Drop can cause issues but you should be able to add the Mac User short name  to the list.
    (and then give it ownership using the cogwheel type icon in the first pic)
    9:53 pm      Monday; January 27, 2014
      iMac 2.5Ghz 5i 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • HT2729 is there a way to catalog my videos into playlists on my ipad? I would like to put workouts in one folder, movie titles by type in one, etc ????

    I have kids movies, family movies, etc... as well as my workout videos that I have purchased elsewhere and added to my video library.
    Is there anyway to create folders, or libraries for video so that I can organize my Iturnes as well as my iPad?

    As far as I can tell, they are correctly tagged. I have all the correct show names, season numbers and episode numbers. What I do have, however, is each season has an Episode ID shared between them (westwing1, gameofthrones2, etc), as this was the fix that fixed another sorting issue I had previously.
    Is it possible I should just clear the Episode ID field on each video?

  • Masters folder moves in library

    Today all my photos, that are loaded in Aperture Library, are no referenced!!!
    Checking the Library I see that Masters folder is moved in another folder.
    Why this behaviour?
    What's the solution?

    You would need to clarify that a bit. You know a referenced library means your masters are stored someplace other than the Aperture library, where a managed library would mean that your masters are stored within the library.
    If you were actually running a referenced library, where did you have your masters stored prior to them ending up, not only in your library, but within the Previews folder within your library?
    If you did click on the File menu and choose Locate Referenced files does it show a path to where your referenced files were stored? Why was it impossible to locate the files?
    Thanks

  • I had two files named graphics and I replaced one graphics file with another which was the wrong one.  Can I undo my replacement?  I move the wrong one, which was on my desktop into another one and that is when it as me if I wanted to replace the file.

    I accidently replaced a file with another.  Can I undo my action? 
    I had two files named graphics.  One was on my desktop and another was within another file called solitarie.  I move the one on my desktop (wrong file) into the solitarie file and was asked if I wanted to replace the graphics file in the solitarie folder (the correct one).  I said yes accidently and then remembered that I had made a mistake.  If I use undo, it only move the wrong file back to the desktop.  Is there an undo of replace?

    Sorry, but's that's why you get the warning. "Replace" means just that - the new file over-writes the old one. There is no undo.

  • Can't rectify a problem after  trying to delete the Movie folder from iDisk

    A little while ago I deleted the folder named "Movies" from my iDisk. I had never used it so I thought I could just get rid of it. Since then whenever I start the laptop, presumably at the stage it syncs the iDisk, I get the message.. ...There is a problem deleting the folder "Movies" . You do not have permission to delete this folder. You can check your permissions in the Info panel in the Finder.
    Its as if the command to try to delete this folder is undoable but simply won't go away. Its really irritating. I accept I'll have to live with the folder, I just want to get rid of the recurring message.
    I can see now that the Movie folder is one I'm going to have to live with!
    How can I get back to the default folder setup so this message doesn't come up any more.
    By the way, The "permissions" on the iDisk say that I have read / write privileges.
    Many thanks... iain B

    This is the iSync forum - the iDisk forum is here:
    http://discussions.apple.com/forum.jspa?forumID=963

  • Can't undo last move

    I am trying to add an undo function to this program. Here is what I have so far. I can't get the undo function to work for some reason. Any help is appreciated.
    // Five.java - main program for Five-In-A-Row Program
    import javax.swing.JFrame;
    ////////////////////////////////////////////////////// class Five
    /** Five.java - Winner is able to put 5 pieces in a row.
       The Five program consists of three files:
       Five.java      - this file with main to create window.
       FiveGUI.java   - implements the GUI interface.
       FiveLogic.java - the logical functioning.
       @author Fred Swartz
       @version 2004-05-02
    class Five {
        //================================================ method main
        public static void main(String[] args) {
            JFrame window = new JFrame("Five In A Row");
            window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            window.setContentPane(new FiveGUI());
            window.pack();  // finalize layout
            window.setResizable(false);
            window.show();  // make window visible
        }//end main
    }//endclass Five
    //===========================================
    // FiveGUI.java
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    /////////////////////////////////////////////////// class FiveGUI
    /** A Graphical User Interface for a Five-In-A-Row game.
        This implements the user interface (view and controller),
        but the logic (model) is implemented in a separate class that
        knows nothing about the user interface.
        <p>This subclasses JPanel and puts the some buttons in the north,
        a graphical display of the board in the center, and
        a status field in the south.
        </p>
        <p>Exercise: This game probably originated on a Go board where
           the pieces are placed on the intersections, not in the
           empty spaces.  Change the program to put all pieces on the
           intersections.
        </p>
        <p>Exercise: The Undo button doesn't do anything.  Fix it here
           in the GUI and in the logic.
        </p>
        <p>Exercise: Create a machine player.</p>
        @author Fred Swartz
        @version 2004-05-02 Rodenbach
    class FiveGUI extends JPanel {
        //=============================================== instance variables
        private GraphicsPanel boardDisplay_;
        private JTextField    statusField_ = new JTextField();
        private FiveLogic     gameLogic_ = new FiveLogic(9, 9);
        private boolean       gameOver_ = false;
        private static final Color[]  PLAYER_COLOR = {null, Color.black, Color.white};
        private static final String[] PLAYER_NAME  = {null, "BLACK", "WHITE"};
        //====================================================== constructor
        public FiveGUI() {
            //--- Create some buttons
            JButton newGameButton = new JButton("New Game");
            JButton undoButton = new JButton("Undo");
            //--- Create control panel
            JPanel controlPanel = new JPanel();
            controlPanel.setLayout(new FlowLayout());
            controlPanel.add(newGameButton);
            controlPanel.add(undoButton);
            //--- Create graphics panel
            boardDisplay_ = new GraphicsPanel();
            //--- Set the layout and add the components
            this.setLayout(new BorderLayout());
            this.add(controlPanel , BorderLayout.NORTH);
            this.add(boardDisplay_, BorderLayout.CENTER);
            this.add(statusField_ , BorderLayout.SOUTH);
            //-- Add action listeners
            newGameButton.addActionListener(new NewGameAction());
                undoButton.addActionListener(new UndoAction());
        }//end constructor
        //////////////////////////////////////////////// class GraphicsPanel
        // This is defined inside the outer class so that
        // it can use the game logic variable.
        class GraphicsPanel extends JPanel implements MouseListener {
            private static final int ROWS = 9;
            private static final int COLS = 9;
            private static final int CELL_SIZE = 30; // Pixels
            private static final int WIDTH  = COLS * CELL_SIZE;
            private static final int HEIGHT = ROWS * CELL_SIZE;
            //================================================== constructor
            public GraphicsPanel() {
                this.setPreferredSize(new Dimension(WIDTH, HEIGHT));
                this.setBackground(Color.gray);
                this.addMouseListener(this);  // Listen own mouse events.
            }//end constructor
            //============================================== paintComponent
            public void paintComponent(Graphics g) {
                super.paintComponent(g);
                //-- Paint grid (could be done once and saved).
                for (int r=1; r<ROWS; r++) {  // Horizontal lines
                    g.drawLine(0, r*CELL_SIZE, WIDTH, r*CELL_SIZE);
                for (int c=1; c<COLS; c++) {
                    g.drawLine(c*CELL_SIZE, 0, c*CELL_SIZE, HEIGHT);
                //-- Draw players pieces.
                for (int r=0; r<ROWS; r++) {
                    for (int c=0; c<COLS; c++) {
                        int x = c * CELL_SIZE;
                        int y = r * CELL_SIZE;
                        int who = gameLogic_.getPlayerAt(r, c);
                        if (who != gameLogic_.EMPTY) {
                            g.setColor(PLAYER_COLOR[who]);
                            g.fillOval(x+2, y+2, CELL_SIZE-4, CELL_SIZE-4);
            }//end paintComponent
            //======================================== listener mousePressed
            public void mousePressed(MouseEvent e) {
                //--- map x,y coordinates into a row and col.
                int col = e.getX()/CELL_SIZE;
                int row = e.getY()/CELL_SIZE;
                int currentOccupant = gameLogic_.getPlayerAt(row, col);
                if (!gameOver_ && currentOccupant == gameLogic_.EMPTY) {
                    gameLogic_.move(row, col);
                    switch (gameLogic_.getGameStatus()) {
                        case 1: // Player one wins.  Game over.
                                gameOver_ = true;
                                statusField_.setText("BLACK WINS");
                                break;
                        case 2: // Player two wins.  Game over.
                                gameOver_ = true;
                                statusField_.setText("WHITE WINS");
                                break;
                        case FiveLogic.TIE:  // Tie game.  Game over.
                                gameOver_ = true;
                                statusField_.setText("TIE GAME");
                                break;
                        default: showNextPlayer();
                } else {  // Not legal
                    Toolkit.getDefaultToolkit().beep();
                this.repaint();  // Show any updates to game.
            }//end mousePressed
            //========================================== ignore these events
            public void mouseClicked (MouseEvent e) {}
            public void mouseReleased(MouseEvent e) {}
            public void mouseEntered (MouseEvent e) {}
            public void mouseExited  (MouseEvent e) {}
        }//end inner class GraphicsPanel
        //======================================= untility method showNextPlayer
        private void showNextPlayer() {
           statusField_.setText(PLAYER_NAME[gameLogic_.getNextPlayer()] + " to play");
        }//end showNextPlayer
        ///////////////////////////////////////// inner class NewGameAction
        private class NewGameAction implements ActionListener {
            public void actionPerformed(ActionEvent e) {
                gameLogic_.reset();
                gameOver_ = false;
                showNextPlayer();
                boardDisplay_.repaint();
        }//end inner class NewGameAction
         ///////////////////////////////////////// inner class NewGameAction
        private class UndoAction implements ActionListener {
            public void actionPerformed(ActionEvent e) {
                gameLogic_.undo();
                gameOver_ = false;
                showNextPlayer();
                boardDisplay_.repaint();
        }//end inner class NewGameAction
    }//end class FiveGUI
    //================================================
    // FiveLogic.java - Game to get 5 pieces in a row.
    ///////////////////////////////////////////////// class FiveLogic
    /** This class implements the logic (model) for the game of
        Five-In-A-Row.
        <br/>Exercise: The undo function doesn't do anything.  Fix it.
        @author Fred Swartz
        @version 2004-05-02
    class FiveLogic {
        /** Number of board rows. */
        private int maxRows_;
        /** Number of board columns. */
        private int maxCols_;
        /** The board. */
        private int[][] board_;
          /**The undo array. */
          private int[][] undoArray_;
        /** The player who moves next. */
        private int     nextPlayer_;
        /** Number of moves in the game. */
        private int     moves_ = 0;
        //-- Constants
        public  static final int EMPTY   = 0;  // The cell is empty.
        private static final int PLAYER1 = 1;
        public  static final int TIE     = -1; // Game is a tie (draw).
        //================================================== constructor
        public FiveLogic(int rows, int cols) {
            maxRows_ = rows;
            maxCols_ = cols;
            board_ = new int[maxRows_][maxCols_];
                undoArray_ = new int[maxRows_][maxCols_];
            reset();
        }//end constructor
        //================================================= getNextPlayer
        /** Returns the next player. */
        public int getNextPlayer() {
            return nextPlayer_;
        }//end getFace
        //=================================================== getPlayerAt
        /** Returns player who has played at particular row and column. */
        public int getPlayerAt(int r, int c) {
            return board_[r][c];
        }//end getPlayerAt
        //========================================================== reset
        /** Clears board to initial state. Makes first move in center. */
        public void reset() {
            for (int r=0; r<maxRows_; r++) {
                for (int c=0; c<maxCols_; c++) {
                    board_[r][c] = EMPTY;
            moves_ = 0;  // No moves so far.
            nextPlayer_ = PLAYER1; 
            //-- Make first move in center.
            move(maxCols_/2, maxRows_/2);  // First player moves to center
        }//end reset
        //=========================================================== move
        /** Play a marker on the board, record it, flip players. */
        public void move(int r, int c) {
            //assert board_[r][c] == EMPTY;
                undoArray_[r][c] = board_[r][c];
            board_[r][c] = nextPlayer_;  // Record this move.
            nextPlayer_ = 3-nextPlayer_; // Flip players
            moves_++;                    // Increment number of moves.
        }//end move
        //=========================================================== undo
        /** Undo the last move made.  Don't go beyond beginning. */
        public void undo() {
                    board_ = undoArray_;
                   moves_--;      
        }//end undo
        //========================================== utility method count5_
        /** The count5_ utility function returns true if there are five in
            a row starting at the specified r,c position and
            continuing in the dr direcection (+1, -1) and
            similarly for the column c.
        private boolean count5_(int r, int dr, int c, int dc) {
            int player = board_[r][c];  // remember the player.
            for (int i=1; i<5; i++) {
                if (board_[r+dr*i][c+dc*i] != player) return false;
            return true;  // There were 5 in a row!
        } // count5_
        //=================================================== getGameStatus
        /** -1 = game is tie, 0 = more to play,
             1 = player1 wins, 2 = player2 wins */
        public int getGameStatus() {
            int row;
            int col;
            int n_up, n_right, n_up_right, n_up_left;
            boolean at_least_one_move;   // true if game isn't a tie
            for (row = 0; row < maxRows_; row++) {
                for (col = 0; col < maxCols_; col++) {
                    int p = board_[row][col];
                    if (p != EMPTY) {
                        // look at 4 kinds of rows of 5
                        //  1. a column going up
                        //  2. a row going to the right
                        //  3. a diagonal up and to the right
                        //  4. a diagonal up and to the left
                        if (row < maxRows_-4) // Look up
                            if (count5_(row, 1, col, 0)) return p;
                        if (col < maxCols_-4) { // row to right
                            if (count5_(row, 0, col, 1))  return p;
                            if (row < maxRows_-4) { // diagonal up to right
                                if (count5_(row, 1, col, 1)) return p;
                        if (col > 3 && row < maxRows_-4) { // diagonal up left
                            if (count5_(row, 1, col, -1)) return p;
                    }//endif position wasn't empty
                }//endfor row
            }//endfor col
            // Neither player has won, it's tie if there are empty positions.
            // Game is finished if total moves equals number of positions.
            if (moves_ == maxRows_*maxCols_) {
                return TIE; // Game tied.  No more possible moves.
            } else {
                return 0;  // More to play.
        }//end getGameStatus
    }//end class FiveLogic

    Oh, oh, oh. I know why it clears the whole board. You are only saving the previous state of each square as a player moves to it. A player can only move to a square if it's empty. So you are only storing empty squares.
    Change the move method to do this:
    public void move(int r, int c) {
        //assert board_[r][c] == EMPTY;
        undoArray_ = (int[][]) board_.clone();
        board_[r][c] = nextPlayer_; // Record this move.
        nextPlayer_ = 3-nextPlayer_; // Flip players
        moves_++;  // Increment number of moves.
    }

Maybe you are looking for