1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
   2 <html>
   3 <head>
   4 <!--
   5 Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
   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
  10 published by the Free Software Foundation.  Oracle designates this
  11 particular file as subject to the "Classpath" exception as provided
  12 by Oracle in the LICENSE file that accompanied this code.
  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 Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  25 or visit www.oracle.com if you need additional information or have any
  26 questions.
  27 -->
  28 <title></title>
  29 </head>
  30 <body bgcolor="white">
  31 
  32 Provides user interface objects built according to
  33 the Java look and feel (once codenamed <em>Metal</em>),
  34 which is the default look and feel.
  35 
  36 <p>These classes are designed to be used while the
  37 corresponding <code>LookAndFeel</code> class has been
  38 installed
  39 (<code>UIManager.setLookAndFeel(new <i>XXX</i>LookAndFeel())</code>).
  40 Using them while a different <code>LookAndFeel</code> is installed
  41 may produce unexpected results, including exceptions.
  42 Additionally, changing the <code>LookAndFeel</code>
  43 maintained by the <code>UIManager</code> without updating the
  44 corresponding <code>ComponentUI</code> of any
  45 <code>JComponent</code>s may also produce unexpected results,
  46 such as the wrong colors showing up, and is generally not
  47 encouraged.
  48 
  49 <p>
  50 <strong>Note:</strong>
  51 Most of the Swing API is <em>not</em> thread safe.
  52 For details, see
  53 <a
  54 href="http://java.sun.com/docs/books/tutorial/uiswing/overview/threads.html"
  55 target="_top">Threads and Swing</a>,
  56 a section in
  57 <em><a href="http://java.sun.com/docs/books/tutorial/"
  58 target="_top">The Java Tutorial</a></em>.
  59 
  60 @since 1.2
  61 @serial exclude
  62 
  63 </body>
  64 </html>