org.das2.util.DesktopColorChooserPanel

Panel for picking colors off the desktop and maintaining a list of colors.


colorIcon

colorIcon( java.awt.Color iconColor, int w, int h ) → Icon

return an icon block with the color and size.

Parameters

iconColor - the color
w - the width in pixels
h - the height in pixels

Returns:

an icon.

search for examples view on GitHub view source


toHexString

toHexString( java.awt.Color c ) → String

Returns:

java.lang.String

search for examples view on GitHub view source