blob: 8d579ac319c9620925d89335c4a42afb2e83bd37 [file] [log] [blame]
J. Duke319a3b92007-12-01 00:00:00 +00001<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
2<html>
3<head>
4<!--
5Copyright 1998-2001 Sun Microsystems, Inc. All Rights Reserved.
6DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
7
8This code is free software; you can redistribute it and/or modify it
9under the terms of the GNU General Public License version 2 only, as
10published by the Free Software Foundation. Sun designates this
11particular file as subject to the "Classpath" exception as provided
12by Sun in the LICENSE file that accompanied this code.
13
14This code is distributed in the hope that it will be useful, but WITHOUT
15ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
16FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
17version 2 for more details (a copy is included in the LICENSE file that
18accompanied this code).
19
20You should have received a copy of the GNU General Public License version
212 along with this work; if not, write to the Free Software Foundation,
22Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
23
24Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
25CA 95054 USA or visit www.sun.com if you need additional information or
26have any questions.
27-->
28
29</head>
30<body bgcolor="white">
31
32Provides user interface objects built according to the
33Basic look and feel. The Basic look and feel provides default
34behavior used by many look and feel packages.
35It contains components, layout managers,
36events, event listeners, and adapters.
37You can subclass the classes in
38this package to create your own customized look and feel.
39
40<p>These classes are designed to be used while the
41corresponding <code>LookAndFeel</code> class has been
42installed
43(<code>UIManager.setLookAndFeel(new <i>XXX</i>LookAndFeel())</code>).
44Using them while a different <code>LookAndFeel</code> is installed
45may produce unexpected results, including exceptions.
46Additionally, changing the <code>LookAndFeel</code>
47maintained by the <code>UIManager</code> without updating the
48corresponding <code>ComponentUI</code> of any
49<code>JComponent</code>s may also produce unexpected results,
50such as the wrong colors showing up, and is generally not
51encouraged.
52
53<p>
54<strong>Note:</strong>
55Most of the Swing API is <em>not</em> thread safe.
56For details, see
57<a
58href="http://java.sun.com/docs/books/tutorial/uiswing/overview/threads.html"
59target="_top">Threads and Swing</a>,
60a section in
61<em><a href="http://java.sun.com/docs/books/tutorial/"
62target="_top">The Java Tutorial</a></em>.
63
64@since 1.2
65@serial exclude
66
67</body>
68</html>