--- a/jdk/src/share/classes/javax/swing/plaf/metal/MetalLabelUI.java Fri Jun 27 10:26:39 2014 -0700
+++ b/jdk/src/share/classes/javax/swing/plaf/metal/MetalLabelUI.java Mon Jun 30 16:32:36 2014 +0400
@@ -56,6 +56,12 @@
private static final Object METAL_LABEL_UI_KEY = new Object();
+ /**
+ * Returns an instance of {@code MetalLabelUI}.
+ *
+ * @param c a component
+ * @return an instance of {@code MetalLabelUI}
+ */
public static ComponentUI createUI(JComponent c) {
if (System.getSecurityManager() != null) {
AppContext appContext = AppContext.getAppContext();