I have bound a menu item to invoke the undo method of an undomanager on a jtextpane, and assigned an "accelerator" key combination to that undo invoke of the standard Ctrl-Z. The undo behaves just as I would like it to, unless I I have bound a menu item to invoke the undo met