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