*/
public void clearCachedProperties() {
synchronized(properties) {
Iterator names = cachedPropertyNames.iterator();
while(names.hasNext()) {
CaselessStringKey name = (CaselessStringKey)names.next();
Object oldValue = properties.remove(name);
names.remove(); // remove name from cachedPropertyNames.
if(manager != null) {
Object eventSource =
manager.getPropertyChangeEventSource();
PropertySourceChangeEvent evt =
new PropertySourceChangeEvent(eventSource,
name.getName(),
oldValue,
java.awt.Image.UndefinedProperty);
manager.firePropertyChange(evt);
}
}