mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-06 03:35:10 +00:00
8263472: Specification of JComponent::updateUI should document that the default implementation does nothing
Reviewed-by: aivanov, darcy
This commit is contained in:
parent
e47dfb8e28
commit
4fbb7c24c2
@ -656,8 +656,9 @@ public abstract class JComponent extends Container implements Serializable,
|
||||
|
||||
|
||||
/**
|
||||
* Resets the UI property to a value from the current look and feel.
|
||||
* <code>JComponent</code> subclasses must override this method
|
||||
* This method is called to update the UI property to a value from the
|
||||
* current look and feel.
|
||||
* {@code JComponent} subclasses must override this method
|
||||
* like this:
|
||||
* <pre>
|
||||
* public void updateUI() {
|
||||
@ -665,6 +666,8 @@ public abstract class JComponent extends Container implements Serializable,
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* @implSpec The default implementation of this method does nothing.
|
||||
*
|
||||
* @see #setUI
|
||||
* @see UIManager#getLookAndFeel
|
||||
* @see UIManager#getUI
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user