please tell me how to make undo/redo in swing for jtextarea.
providing sample code will be appreciated
Printable View
please tell me how to make undo/redo in swing for jtextarea.
providing sample code will be appreciated
Well... I don't have sample code you asking for.
But you can have undo/redo feature in JTextArea.
See JDK1.3 documentation's javax.swing.JTextComponent. There is a link saying 'General rules...'.
The example is actually for showing styled text... but they have sample code which implements undo/redo.
Hope it helps.
- UnicMan
http://members.tripod.com/unicman