71 from it are automatically updated. The method 72 {@link javax.swing.plaf.nimbus.NimbusLookAndFeel#getDerivedColor(java.lang.String, float, float, float, int, boolean)} 73 may be used to create a derived color. 74 75 <p>These classes are designed to be used while the 76 corresponding <code>LookAndFeel</code> class has been 77 installed 78 (<code>UIManager.setLookAndFeel(new <i>XXX</i>LookAndFeel())</code>). 79 Using them while a different <code>LookAndFeel</code> is installed 80 may produce unexpected results, including exceptions. 81 Additionally, changing the <code>LookAndFeel</code> 82 maintained by the <code>UIManager</code> without updating the 83 corresponding <code>ComponentUI</code> of any 84 <code>JComponent</code>s may also produce unexpected results, 85 such as the wrong colors showing up, and is generally not 86 encouraged. 87 88 <p><strong>Note:</strong> 89 Most of the Swing API is <em>not</em> thread safe. 90 For details, see 91 <a href="http://java.sun.com/docs/books/tutorial/uiswing/concurrency/index.html" 92 target="_top">Concurrency in Swing</a>, 93 a section in 94 <em><a href="http://java.sun.com/docs/books/tutorial/" 95 target="_top">The Java Tutorial</a></em>. 96 97 @since 1.7 98 @serial exclude 99 100 </body> 101 </html> | 71 from it are automatically updated. The method 72 {@link javax.swing.plaf.nimbus.NimbusLookAndFeel#getDerivedColor(java.lang.String, float, float, float, int, boolean)} 73 may be used to create a derived color. 74 75 <p>These classes are designed to be used while the 76 corresponding <code>LookAndFeel</code> class has been 77 installed 78 (<code>UIManager.setLookAndFeel(new <i>XXX</i>LookAndFeel())</code>). 79 Using them while a different <code>LookAndFeel</code> is installed 80 may produce unexpected results, including exceptions. 81 Additionally, changing the <code>LookAndFeel</code> 82 maintained by the <code>UIManager</code> without updating the 83 corresponding <code>ComponentUI</code> of any 84 <code>JComponent</code>s may also produce unexpected results, 85 such as the wrong colors showing up, and is generally not 86 encouraged. 87 88 <p><strong>Note:</strong> 89 Most of the Swing API is <em>not</em> thread safe. 90 For details, see 91 <a href="http://docs.oracle.com/javase/tutorial/uiswing/concurrency/index.html" 92 target="_top">Concurrency in Swing</a>, 93 a section in 94 <em><a href="http://docs.oracle.com/javase/tutorial/" 95 target="_top">The Java Tutorial</a></em>. 96 97 @since 1.7 98 @serial exclude 99 100 </body> 101 </html> |