How to use Java Undo and Redo

Tutorials Shared by the Internet Community

Advertisements


Synopsis

This tutorial explains how to integrate undo and redo functionality in a Java Application

Statistics

  • Total Hits - 14686

  • Total Votes - 96 votes

  • Vote Up - 41 votes

  • Vote Down - 55 votes

  • Domain - www.processworks.de

  • Category - JAVA/Core JAVA

  • Submitted By - Domink Enkelmann

  • Submitted on - 2009-10-28 01:03:52

Description

Searching the web for some guidance I got a bit scared by finding posts that gave the impression that undo in Java is an overly complex thing that requires 10+ mysterious classes, best combined with reflection and modified GoF patterns.

This tutorial shows you how simple undo in Java is and how it can easily be added to an existing application. You do not need to study Command patterns or rebuild half of your app, just follow the pragmatic approach described in the tutorial and add a few simple classes to your application. ...


Site  |   Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down

Advertisements