FileDocCategorySizeDatePackage
WindowsMenuBarUI.javaAPI DocJava SE 5 API2130Fri Aug 26 14:54:50 BST 2005com.sun.java.swing.plaf.windows

WindowsMenuBarUI

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()

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