protected void firePropertyChange(Object oldValue, Object newValue) {
   if (oldValue instanceof Color) {
     oldValue = Integer.valueOf(((Color) oldValue).getRGB());
   }
   if (newValue instanceof Color) {
     newValue = Integer.valueOf(((Color) newValue).getRGB());
   }
   super.firePropertyChange(oldValue, newValue);
 }