< prev index next >
src/java.desktop/share/classes/com/sun/java/swing/plaf/windows/DesktopProperty.java
Print this page
@@ -30,14 +30,14 @@
import javax.swing.*;
import javax.swing.plaf.*;
/**
* Wrapper for a value from the desktop. The value is lazily looked up, and
- * can be accessed using the <code>UIManager.ActiveValue</code> method
- * <code>createValue</code>. If the underlying desktop property changes this
+ * can be accessed using the {@code UIManager.ActiveValue} method
+ * {@code createValue}. If the underlying desktop property changes this
* will force the UIs to update all known Frames. You can invoke
- * <code>invalidate</code> to force the value to be fetched again.
+ * {@code invalidate} to force the value to be fetched again.
*
*/
// NOTE: Don't rely on this class staying in this location. It is likely
// to move to a different package in the future.
public class DesktopProperty implements UIDefaults.ActiveValue {
@@ -189,11 +189,11 @@
invalidate();
}
/**
* Invalides the current value so that the next invocation of
- * <code>createValue</code> will ask for the property again.
+ * {@code createValue} will ask for the property again.
*/
public void invalidate() {
value = null;
}
< prev index next >