// System.out.println("Looking for " + nm + "; trying " + d.name);
public static String XColorByValue(int val) {
		for (int i=0; i<data.length; i++) {
			Setting d = data[i];
			// System.out.println("Looking for " + nm + "; trying " + d.name);
			if (val == d.value) {
				return d.name;
			}
		}
		// How sad... none of the 752 color names matched...
		return "XColor(" + val + ")";
	}
for (int i=0; i<data.length; i++) {
Setting d = data[i];
// System.out.println("Looking for " + nm + "; trying " + d.name);
if (val == d.value) {
return d.name;
public static String XColorByValue(int val) {
for (int i=0; i<data.length; i++) {
Setting d = data[i];
// System.out.println("Looking for " + nm + "; trying " + d.name);
if (val == d.value) {
return d.name;
}
}
// How sad... none of the 752 color names matched...
return "XColor(" + val + ")";
}
public static String XColorByValue(int val) {
for (int i=0; i<data.length; i++) {
Setting d = data[i];
// System.out.println("Looking for " + nm + "; trying " + d.name);
if (val == d.value) {
return d.name;
}
}
// How sad... none of the 752 color names matched...
return "XColor(" + val + ")";
}