WindowsMenuBarUI.javaAPI DocJava SE 5 API2130Fri Aug 26 14:54:50 BST


public class WindowsMenuBarUI extends BasicMenuBarUI
Windows rendition of the component.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. A future release of Swing will provide support for long term persistence.

Fields Summary
Constructors Summary
Methods Summary
public static javax.swing.plaf.ComponentUIcreateUI(javax.swing.JComponent x)

	return new WindowsMenuBarUI();
protected voidinstallKeyboardActions()

	ActionMap map = SwingUtilities.getUIActionMap(menuBar);
        if (map == null) {
            map = new ActionMapUIResource();
            SwingUtilities.replaceUIActionMap(menuBar, map);
        map.put("takeFocus", new TakeFocus());