Generated by
JDiff

Class javax.swing.JMenu

Documentation changed from old to new.

Added Methods
void applyComponentOrientation(ComponentOrientation) Sets the ComponentOrientation property of this menu and all components contained within it.
MenuListener[] getMenuListeners() Returns an array of all the MenuListeners added to this JMenu with addMenuListener().
 

Changed Methods
void configurePropertiesFromAction(Action) Documentation changed from old to new.
Method was inherited from JMenuItem, but is now defined locally.
Factory method which sets the ActionEvent source's properties according to values from the Action instance.
PropertyChangeListener createActionChangeListener(JMenuItem) Documentation changed from old to new.
Returns a properly configured PropertyChangeListener which updates the control as changes to the Action occur.
JMenuItem createActionComponent(Action) Documentation changed from old to new.
Factory method which creates the JMenuItem for Actions added to the JMenu.
void fireMenuCanceled() Documentation changed from old to new.
Notifies all listeners that have registered interest for notification on this event type.
void fireMenuDeselected() Documentation changed from old to new.
Notifies all listeners that have registered interest for notification on this event type.
void fireMenuSelected() Documentation changed from old to new.
Notifies all listeners that have registered interest for notification on this event type.
Point getPopupMenuOrigin() Documentation changed from old to new.
Computes the origin for the JMenu's popup menu.
void processFocusEvent(FocusEvent) Documentation changed from old to new.
Method was locally defined, but is now inherited from Component.
Processes focus events occurring on this component by dispatching them to any registered FocusListener objects.
void setComponentOrientation(ComponentOrientation) Documentation changed from old to new.
Method was inherited from Component, but is now defined locally.
 
void updateUI() Documentation changed from old to new.
Resets the UI property with a value from the current look and feel.
JMenuItem add(Action) Documentation changed from old to new.
Creates a new menu item attached to the specified Action object and appends it to the end of this menu.
void doClick(int) Documentation changed from old to new.
Programmatically performs a "click".
void processKeyEvent(KeyEvent) Documentation changed from old to new.
Processes key stroke events such as mnemonics and accelerators.