public void notifyUnlockInput(){
  if (locked) {
synchronized (directorListeners) {
      IDirectorListener[] listeners=directorListeners.toArray(new IDirectorListener[directorListeners.size()]);
      for (      IDirectorListener directorListener : listeners) {
        if (directorListener != this)         directorListener.unlockUserInput();
      }
    }
  }
  locked=false;
}

public void notifyUnlockInput ( ) { if ( locked ) { synchronized ( directorListeners ) { IDirectorListener [ ] listeners = directorListeners . toArray ( new IDirectorListener [ directorListeners . size ( ) ] ) ; for ( IDirectorListener directorListener : listeners ) { if ( directorListener != this ) directorListener . unlockUserInput ( ) ; } } } locked = false ; }
notify listeners to allow user input
