@Override
        public void propertyChange(PropertyChangeEvent e) {
          if (e.getPropertyName().equals("ancestor") && e.getNewValue() == null && imageProvider != null) {
            imageProvider.clearCache();
          }
        }
@Override
        public void propertyChange(PropertyChangeEvent e)