CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2000
    Posts
    22

    how to make undo/redo

    please tell me how to make undo/redo in swing for jtextarea.
    providing sample code will be appreciated


  2. #2
    Join Date
    May 1999
    Location
    Pune, MH, India.
    Posts
    453

    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
  •  





Click Here to Expand Forum to Full Width

Featured