public static synchronized void updateMenu() {
    try {
      if (impl != null) {
        impl.updateRecentProjectsMenu();
      }
    }
    catch (Throwable err) {
      Logger.getInstance(SystemDock.class).error(err);
    }
  }
public static synchronized void updateMenu()