|
The Command Pattern for Undo/Redo
An Introduction with Examples in Java |
|
Prof. David Bernstein
|
| Computer Science Department |
| bernstdh@jmu.edu |
Action class that
implements javax.swing.undo.UndoableEditListener
and handles actionPerformed() messages as
desiredAction
UndoableEditSupport objectAction to
the UndoableEditSupport
UndoableEditSupport to post the edit