dropDownButton.addToMenu(cfg.dropDownButtonEntry, true);
	public void add(TopWindow window, String name, Icon icon)	{		if (window == null)	return;		if (name == null || name.length() == 0)			throw new IllegalArgumentException("Must provide a name.");		WindowConfig cfg = (WindowConfig) windows.get(window);		if (cfg == null) {			cfg = makeConfigFor(window);			windows.put(window, cfg);		}				cfg.winSubMenuEntry.setText(name);		cfg.winSubMenuEntry.setIcon(icon);		cfg.dropDownButtonEntry.setText(name);		cfg.dropDownButtonEntry.setIcon(icon);		//NOTE: If window has already a cfg, then we simply overwrite the		//previous text and icon of the display buttons.				if (windows.size() == 1) addCloseAllButtons();		winSubMenu.setEnabled(true);		winSubMenu.add(cfg.winSubMenuEntry);		dropDownButton.addToMenu(cfg.dropDownButtonEntry, true);	}