|
-
October 1st, 2000, 10:56 AM
#1
how to make undo/redo
please tell me how to make undo/redo in swing for jtextarea.
providing sample code will be appreciated
-
October 1st, 2000, 03:38 PM
#2
Re: how to make undo/redo
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|