| java.lang.Object sun.tools.jconsole.Utilities
Utilities | public class Utilities (Code) | | Miscellaneous utility methods for JConsole
|
ensureContrast | public static Color ensureContrast(Color c1, Color c2)(Code) | | Modifies color c1 to ensure it has acceptable contrast
relative to color c2.
http://www.w3.org/TR/AERT#color-contrast
http://www.cs.rit.edu/~ncs/color/t_convert.html#RGB%20to%20YIQ%20&%20YIQ%20to%20RGB
|
getColorBrightness | public static double getColorBrightness(Color c)(Code) | | |
newTableScrollPane | public static JScrollPane newTableScrollPane(JComponent comp)(Code) | | A slightly modified border for JScrollPane to be used with a JTable inside
a JTabbedPane. It has only top part and the rest is clipped to make the
overall border less thick.
The top border helps differentiating the containing table from its container.
|
setAccessibleDescription | public static void setAccessibleDescription(Accessible comp, String description)(Code) | | |
|
|