return attr;
}
+ /**
+ * Set the color for a named theme color.
+ *
+ * @param name theme color name, e.g. "twindow.border"
+ * @param color the new color to associate with name, e.g. bold yellow on
+ * blue
+ */
+ public void setColor(final String name, final CellAttributes color) {
+ colors.put(name, color);
+ }
+
/**
* Save the color theme mappings to an ASCII file.
*
color.setBackColor(Color.getColor(backColor));
colors.put(key, color);
}
+ // All done.
+ reader.close();
}
/**