4. JEDITORPANE AND THE SWING HTML PACKAGE

Java > Core SWING advanced programming > 9. THE SWING UNDO PACKAGE > Summary

 

Summary

In this chapter, we looked at the undo package and saw how, with very little effort, you can make it possible for the user to undo and redo edits within text fields. We then moved on to describe the fundamental classes and interfaces within the undo package and saw how to apply the undo mechanism in a nontext context by developing an UndoableEdit for use in conjunction with a JTree. Finally, we saw how to improve the undo packages UndoManager class to make it easier to create the kind of undo support that users get in popular desktop applications.

 

 



Core Swing
Core Swing: Advanced Programming
ISBN: 0130832928
EAN: 2147483647
Year: 1999
Pages: 55
Authors: Kim Topley

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net