mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 09:34:38 +02:00
8153532: Add @throws NPE javadoc to UIManager.setLookAndFeel(String) method description
Reviewed-by: prr, serb, kaddepalli
This commit is contained in:
parent
e91400d46b
commit
3459dc11fd
2 changed files with 57 additions and 4 deletions
|
@ -606,15 +606,16 @@ public class UIManager implements Serializable
|
|||
*
|
||||
* @param className a string specifying the name of the class that implements
|
||||
* the look and feel
|
||||
* @exception ClassNotFoundException if the <code>LookAndFeel</code>
|
||||
* @throws ClassNotFoundException if the <code>LookAndFeel</code>
|
||||
* class could not be found
|
||||
* @exception InstantiationException if a new instance of the class
|
||||
* @throws InstantiationException if a new instance of the class
|
||||
* couldn't be created
|
||||
* @exception IllegalAccessException if the class or initializer isn't accessible
|
||||
* @exception UnsupportedLookAndFeelException if
|
||||
* @throws IllegalAccessException if the class or initializer isn't accessible
|
||||
* @throws UnsupportedLookAndFeelException if
|
||||
* <code>lnf.isSupportedLookAndFeel()</code> is false
|
||||
* @throws ClassCastException if {@code className} does not identify
|
||||
* a class that extends {@code LookAndFeel}
|
||||
* @throws NullPointerException if {@code className} is {@code null}
|
||||
*/
|
||||
@SuppressWarnings("deprecation")
|
||||
public static void setLookAndFeel(String className)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue