ColorCache gets colors by RGB, or name Named colors are retrieved from preferences It would be nice if color cache listened to preference changes and modified its colors when prefs changed. But currently colors are immutable, so this can't be done implements Preferences.IPropertyChangeListener preferences.addPropertyChangeListener(this); preferences.removePropertyChangeListener(this);
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.