2
|
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
2 |
<html>
|
|
3 |
<head>
|
|
4 |
<!--
|
5506
|
5 |
Copyright (c) 1998, 2001, 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 |
Provides user interface objects built according to the
|
|
33 |
Basic look and feel. The Basic look and feel provides default
|
|
34 |
behavior used by many look and feel packages.
|
|
35 |
It contains components, layout managers,
|
|
36 |
events, event listeners, and adapters.
|
|
37 |
You can subclass the classes in
|
|
38 |
this package to create your own customized look and feel.
|
|
39 |
|
|
40 |
<p>These classes are designed to be used while the
|
|
41 |
corresponding <code>LookAndFeel</code> class has been
|
|
42 |
installed
|
|
43 |
(<code>UIManager.setLookAndFeel(new <i>XXX</i>LookAndFeel())</code>).
|
|
44 |
Using them while a different <code>LookAndFeel</code> is installed
|
|
45 |
may produce unexpected results, including exceptions.
|
|
46 |
Additionally, changing the <code>LookAndFeel</code>
|
|
47 |
maintained by the <code>UIManager</code> without updating the
|
|
48 |
corresponding <code>ComponentUI</code> of any
|
|
49 |
<code>JComponent</code>s may also produce unexpected results,
|
|
50 |
such as the wrong colors showing up, and is generally not
|
|
51 |
encouraged.
|
|
52 |
|
|
53 |
<p>
|
|
54 |
<strong>Note:</strong>
|
|
55 |
Most of the Swing API is <em>not</em> thread safe.
|
|
56 |
For details, see
|
|
57 |
<a
|
|
58 |
href="http://java.sun.com/docs/books/tutorial/uiswing/overview/threads.html"
|
|
59 |
target="_top">Threads and Swing</a>,
|
|
60 |
a section in
|
|
61 |
<em><a href="http://java.sun.com/docs/books/tutorial/"
|
|
62 |
target="_top">The Java Tutorial</a></em>.
|
|
63 |
|
|
64 |
@since 1.2
|
|
65 |
@serial exclude
|
|
66 |
|
|
67 |
</body>
|
|
68 |
</html>
|