< prev index next >

src/java.desktop/share/classes/javax/swing/plaf/basic/package.html

Print this page




  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>


  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://docs.oracle.com/javase/tutorial/uiswing/concurrency/index.html"
  59 target="_top">Concurrency in Swing</a>,
  60 a section in
  61 <em><a href="http://docs.oracle.com/javase/tutorial/"
  62 target="_top">The Java Tutorial</a></em>.
  63 
  64 @since 1.2
  65 @serial exclude
  66 
  67 </body>
  68 </html>
< prev index next >