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