File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
src/java.desktop/share/classes/javax/swing Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -656,15 +656,18 @@ public JComponent() {
656656
657657
658658 /**
659- * Resets the UI property to a value from the current look and feel.
660- * <code>JComponent</code> subclasses must override this method
659+ * This method is called to update the UI property to a value from the
660+ * current look and feel.
661+ * {@code JComponent} subclasses must override this method
661662 * like this:
662663 * <pre>
663664 * public void updateUI() {
664665 * setUI((SliderUI)UIManager.getUI(this);
665666 * }
666667 * </pre>
667668 *
669+ * @implSpec The default implementation of this method does nothing.
670+ *
668671 * @see #setUI
669672 * @see UIManager#getLookAndFeel
670673 * @see UIManager#getUI
You can’t perform that action at this time.
0 commit comments