public static void update() {
		ArrayList<AppWindow> windows = AppWindow.getAllWindows();
		Collections.sort(windows);
		for (AppWindow window : windows) {
			JMenu windowMenu = StdMenuBar.findMenuByName(window.getJMenuBar(), NAME);
			if (windowMenu != null) {
				windowMenu.removeAll();
				for (AppWindow one : windows) {
					windowMenu.add(new JCheckBoxMenuItem(new SwitchToWindowCommand(one)));
				}
			}
		}
	}