private void removeAllHotkeys(){
  removeHotkeys(main.getRootPane());
  for (  JDialog popout : popouts.keySet()) {
    removeHotkeys(popout.getRootPane());
  }
  removeGlobalHotkeys();
  removeHotkeysFromActions();
}

private void removeAllHotkeys ( ) { removeHotkeys ( main . getRootPane ( ) ) ; for ( JDialog popout : popouts . keySet ( ) ) { removeHotkeys ( popout . getRootPane ( ) ) ; } removeGlobalHotkeys ( ) ; removeHotkeysFromActions ( ) ; }
removes all hotkeys that have to be registered ( regular and global ) .
