< prev index next >
src/java.desktop/share/classes/javax/swing/plaf/metal/MetalLookAndFeel.java
Print this page
*** 288,302 ****
}
/**
* Populates {@code table} with system colors. The following values are
* added to {@code table}:
! * <table border="1" cellpadding="1" cellspacing="0"
! * summary="Metal's system color mapping">
! * <tr valign="top" style="text-align:left">
! * <th style="background-color:#CCCCFF;text-align:left">Key
! * <th style="background-color:#CCCCFF;text-align:left">Value
* <tr valign="top" style="text-align:left">
* <td>"desktop"
* <td>{@code theme.getDesktopColor()}
* <tr valign="top" style="text-align:left">
* <td>"activeCaption"
--- 288,306 ----
}
/**
* Populates {@code table} with system colors. The following values are
* added to {@code table}:
! *
! * <table class="striped">
! * <caption>Metal's system color mapping</caption>
! * <thead>
! * <tr>
! * <th>Key
! * <th>Value
! * </thead>
! * <tbody>
* <tr valign="top" style="text-align:left">
* <td>"desktop"
* <td>{@code theme.getDesktopColor()}
* <tr valign="top" style="text-align:left">
* <td>"activeCaption"
*** 371,380 ****
--- 375,385 ----
* <td>"info"
* <td>{@code theme.getPrimaryControl()}
* <tr valign="top" style="text-align:left">
* <td>"infoText"
* <td>{@code theme.getPrimaryControlInfo()}
+ * </tbody>
* </table>
* The value {@code theme} corresponds to the current {@code MetalTheme}.
*
* @param table the {@code UIDefaults} object the values are added to
* @throws NullPointerException if {@code table} is {@code null}
< prev index next >