2
|
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
2 |
<html>
|
|
3 |
<head>
|
|
4 |
<!--
|
5506
|
5 |
Copyright (c) 1998, 2000, Oracle and/or its affiliates. All rights reserved.
|
2
|
6 |
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
7 |
|
|
8 |
This code is free software; you can redistribute it and/or modify it
|
|
9 |
under the terms of the GNU General Public License version 2 only, as
|
5506
|
10 |
published by the Free Software Foundation. Oracle designates this
|
2
|
11 |
particular file as subject to the "Classpath" exception as provided
|
5506
|
12 |
by Oracle in the LICENSE file that accompanied this code.
|
2
|
13 |
|
|
14 |
This code is distributed in the hope that it will be useful, but WITHOUT
|
|
15 |
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
16 |
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
17 |
version 2 for more details (a copy is included in the LICENSE file that
|
|
18 |
accompanied this code).
|
|
19 |
|
|
20 |
You should have received a copy of the GNU General Public License version
|
|
21 |
2 along with this work; if not, write to the Free Software Foundation,
|
|
22 |
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
23 |
|
|
24 |
Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
|
25 |
CA 95054 USA or visit www.sun.com if you need additional information or
|
|
26 |
have any questions.
|
|
27 |
-->
|
|
28 |
|
|
29 |
</head>
|
|
30 |
<body bgcolor="white">
|
|
31 |
|
|
32 |
Allows developers to provide support for undo/redo
|
|
33 |
in applications such as text editors.
|
|
34 |
|
|
35 |
<p>
|
|
36 |
<strong>Note:</strong>
|
|
37 |
Most of the Swing API is <em>not</em> thread safe.
|
|
38 |
For details, see
|
|
39 |
<a
|
|
40 |
href="http://java.sun.com/docs/books/tutorial/uiswing/overview/threads.html"
|
|
41 |
target="_top">Threads and Swing</a>,
|
|
42 |
a section in
|
|
43 |
<em><a href="http://java.sun.com/docs/books/tutorial/"
|
|
44 |
target="_top">The Java Tutorial</a></em>.
|
|
45 |
|
|
46 |
<h2>Related Documentation</h2>
|
|
47 |
|
|
48 |
For overviews, tutorials, examples, guides, and tool documentation, please see:
|
|
49 |
<ul>
|
|
50 |
<li><a href="http://java.sun.com/docs/books/tutorial/uiswing/components/generaltext.html#undo" target="_top">Implementing Undo and Redo</a>,
|
|
51 |
a section in <em>The Java Tutorial</em>
|
|
52 |
</ul>
|
|
53 |
|
|
54 |
|
|
55 |
@since 1.2
|
|
56 |
@serial exclude
|
|
57 |
|
|
58 |
</body>
|
|
59 |
</html>
|