FileDocCategorySizeDatePackage
XColors.javaAPI DocJava SE 5 API36501Fri Aug 26 14:54:46 BST 2005com.sun.java.swing.plaf.gtk

XColors

public class XColors extends Object
author
Shannon Hickey
version
1.5 12/19/03

Fields Summary
private static XColor
key
private static final XColor[]
colors
Constructors Summary
Methods Summary
static java.awt.ColorlookupColor(java.lang.String name)

    
        
        key.name = name.toLowerCase();

        int pos = Arrays.binarySearch(colors, key);
        
        if (pos < 0) {
            return null;
        }
        
        return colors[pos].toColor();