private void activateRow()
	{
		// Make sure the file exists (and that something is selected)
		if(MainFrame.getInstance().selectedFile != null
				&& MainFrame.getInstance().selectedFile.toFile().exists())
		{
			// Go into directories
			if(MainFrame.getInstance().selectedFile.toFile().isDirectory())
			{
				logger.debug("Activated on folder: "
						+ MainFrame.getInstance().selectedFile.toString());

				// Set the new directory
				MainFrame.getInstance().currentDirectory = MainFrame.getInstance().currentDirectory.resolve(MainFrame.getInstance().selectedFile.getFileName());

				// And recreate the table
				MainFrame.getInstance().redrawTable(MainFrame.getInstance().currentDirectory);

				// Disable options that require a selected file
				MainFrame.getInstance().menubar.copyToOption.setEnabled(false);
				MainFrame.getInstance().menubar.revisionsOption.setEnabled(false);

				MainFrame.getInstance().toolbar.upButton.setEnabled(true);
			}
			// Display revision window for files
			else
			{
				logger.debug("Activated on file: "
						+ MainFrame.getInstance().selectedFile.toString());

				RevisionDialog revisionWindow = new RevisionDialog(
						FileOp.convertPath(MainFrame.getInstance().selectedFile));
				revisionWindow.setLocationRelativeTo(MainFrame.getInstance());
				revisionWindow.setModalityType(ModalityType.APPLICATION_MODAL);
				revisionWindow.setVisible(true);
			}
		}
		else if(MainFrame.getInstance().selectedFile != null)
		{
			Errors.nonfatalError("The selected file no longer exists.");
		}
	}