< prev index next >
src/java.desktop/share/classes/javax/swing/plaf/nimbus/DerivedColor.java
Print this page
@@ -99,11 +99,11 @@
/**
* Returns the RGB value representing the color in the default sRGB {@link java.awt.image.ColorModel}. (Bits 24-31
* are alpha, 16-23 are red, 8-15 are green, 0-7 are blue).
*
- * @return the RGB value of the color in the default sRGB <code>ColorModel</code>.
+ * @return the RGB value of the color in the default sRGB {@code ColorModel}.
* @see java.awt.image.ColorModel#getRGBdefault
* @see #getRed
* @see #getGreen
* @see #getBlue
* @since 1.0
@@ -155,16 +155,16 @@
}
return value;
}
/**
- * Returns a string representation of this <code>Color</code>. This method
+ * Returns a string representation of this {@code Color}. This method
* is intended to be used only for debugging purposes. The content and
* format of the returned string might vary between implementations. The
- * returned string might be empty but cannot be <code>null</code>.
+ * returned string might be empty but cannot be {@code null}.
*
- * @return a String representation of this <code>Color</code>.
+ * @return a String representation of this {@code Color}.
*/
@Override
public String toString() {
Color src = UIManager.getColor(uiDefaultParentName);
String s = "DerivedColor(color=" + getRed() + "," + getGreen() + "," + getBlue() +
< prev index next >