Generated by
JDiff

Class javax.swing.JMenuItem

Documentation changed from old to new.

Added Constructors
JMenuItem(Action) Creates a menu item whose properties are taken from the Action supplied.
 

Changed Constructors
JMenuItem(String, Icon) Documentation changed from old to new.
Creates a menu item with the supplied text and icon.
 

Added Methods
void configurePropertiesFromAction(Action) Factory method which sets the ActionEvent source's properties according to values from the Action instance.
PropertyChangeListener createActionPropertyChangeListener(Action) Factory method which creates the PropertyChangeListener used to update the ActionEvent source as properties change on its Action instance.
 

Changed Methods
AccessibleContext getAccessibleContext() Documentation changed from old to new.
Gets the AccessibleContext associated with this JMenuItem.
void setAccelerator(KeyStroke) Documentation changed from old to new.
Set the key combination which invokes the Menu Item's action listeners without navigating the menu hierarchy.
void updateUI() Documentation changed from old to new.
Resets the UI property with a value from the current look and feel.