Generated by
JDiff

Class javax.swing.JMenuBar

Documentation changed from old to new.

Added Methods
boolean processKeyBinding(KeyStroke, KeyEvent, int, boolean) Subclassed to check all the child menus.
 

Changed Methods
void addNotify() Documentation changed from old to new.
Overrides JComponent.addNotify to register this menu bar with the current keyboard manager.
AccessibleContext getAccessibleContext() Documentation changed from old to new.
Gets the AccessibleContext associated with this JMenuBar.
Component getComponentAtIndex(int) Documentation changed from old to new.
Now deprecated.
replaced by getComponent(int i)
int getComponentIndex(Component) Documentation changed from old to new.
Returns the index of the specified component.
JMenu getHelpMenu() Documentation changed from old to new.
Gets the help menu for the menu bar.
Insets getMargin() Documentation changed from old to new.
Returns the margin between the menubar's border and its menus.
JMenu getMenu(int) Documentation changed from old to new.
Returns the menu at the specified position in the menu bar.
SingleSelectionModel getSelectionModel() Documentation changed from old to new.
Returns the model object that handles single selections.
MenuElement[] getSubElements() Documentation changed from old to new.
Implemented to be a MenuElement -- returns the menus in this menu bar.
String getUIClassID() Documentation changed from old to new.
Returns the name of the L&F class that renders this component.
boolean isBorderPainted() Documentation changed from old to new.
Returns true if the menu bars border should be painted.
boolean isSelected() Documentation changed from old to new.
Returns true if the menu bar currently has a component selected.
void menuSelectionChanged(boolean) Documentation changed from old to new.
Implemented to be a MenuElement -- does nothing.
void paintBorder(Graphics) Documentation changed from old to new.
Paints the menubar's border if BorderPainted property is true.
String paramString() Documentation changed from old to new.
Returns a string representation of this JMenuBar.
void removeNotify() Documentation changed from old to new.
Overrides JComponent.removeNotify to unregister this menu bar with the current keyboard manager.
void setBorderPainted(boolean) Documentation changed from old to new.
Sets whether the border should be painted.
void setHelpMenu(JMenu) Documentation changed from old to new.
Sets the help menu that appears when the user selects the "help" option in the menu bar.
void setMargin(Insets) Documentation changed from old to new.
Sets the margin between the menubar's border and its menus.
void setSelected(Component) Documentation changed from old to new.
Sets the currently selected component producing a a change to the selection model.
void setSelectionModel(SingleSelectionModel) Documentation changed from old to new.
Sets the model object to handle single selections.
void updateUI() Documentation changed from old to new.
Notification from the UIFactory that the L&F has changed.
JMenu add(JMenu) Documentation changed from old to new.
Appends the specified menu to the end of the menu bar.
Component getComponent() Documentation changed from old to new.
Implemented to be a MenuElement.
void processKeyEvent(KeyEvent, MenuElement[], MenuSelectionManager) Documentation changed from old to new.
Implemented to be a MenuElement -- does nothing.
void processMouseEvent(MouseEvent, MenuElement[], MenuSelectionManager) Documentation changed from old to new.
Implemented to be a MenuElement -- does nothing.