There are 1 code examples for javax.swing.undo.CannotRedoException.

The API names are highlighted below. You can use suckoo button to vote the code example(s) you like. The best code example will be ranked first next time. Thanks a lot for your feedback.

Project Name: weka Package: weka.gui.scripting

Source Code: FileScriptingPanel.java (Click to view .java file)

Method Code:
vote
like

/** 
 * Fired when action got executed.
 * @param e		the event
 */
public void actionPerformed(ActionEvent e){
  try {
    m_Undo.redo();
  }
 catch (  CannotRedoException ex) {
    System.out.println("Unable to redo: " + ex);
    ex.printStackTrace();
  }
  updateRedoState();
  m_UndoAction.updateUndoState();
}