private void resetCache(){
synchronized (LOCK) {
    resourcesCache=null;
  }
  support.firePropertyChange(PROP_RESOURCES,null,null);
}

private void resetCache ( ) { synchronized ( LOCK ) { resourcesCache = null ; } support . firePropertyChange ( PROP_RESOURCES , null , null ) ; }
resets the cache and firespropertychange
