J
Jason Cavett
I'm completely confused and lost by undo/redo. It seems that I need
to create a separate "Edit" (extends AbstractUndoableEdit) classes for
every single component (non-text) that exists in my GUI. This makes
no sense, though (lots of repeated code, etc). Does anybody have a
good tutorial or explanation of a better way to implement undo/redo?
I've searched all over the net and only text components show up
because they have built in undo support. (I'm trying JCheckBoxes,
JTree, etc, etc. I assume it would be the same across all components,
though.)
Thanks.
to create a separate "Edit" (extends AbstractUndoableEdit) classes for
every single component (non-text) that exists in my GUI. This makes
no sense, though (lots of repeated code, etc). Does anybody have a
good tutorial or explanation of a better way to implement undo/redo?
I've searched all over the net and only text components show up
because they have built in undo support. (I'm trying JCheckBoxes,
JTree, etc, etc. I assume it would be the same across all components,
though.)
Thanks.