Generated by
JDiff

Class javax.swing.JButton

Documentation changed from old to new.

Changed Constructors
JButton(String, Icon) Documentation changed from old to new.
Creates a button with initial text and an icon.
JButton(Action) Documentation changed from old to new.
Creates a button where properties are taken from the Action supplied.
 

Changed Methods
void configurePropertiesFromAction(Action) Documentation changed from old to new.
Factory method which sets the AbstractButton's properties according to values from the Action instance.
AccessibleContext getAccessibleContext() Documentation changed from old to new.
Gets the AccessibleContext associated with this JButton.
String getUIClassID() Documentation changed from old to new.
Returns a string that specifies the name of the L&F class that renders this component.
boolean isDefaultButton() Documentation changed from old to new.
Gets the value of the defaultButton property which if true means that this button is the current default button for its JRootPane.
boolean isDefaultCapable() Documentation changed from old to new.
Gets the value of the defaultCapable property.
String paramString() Documentation changed from old to new.
Returns a string representation of this JButton.
void removeNotify() Documentation changed from old to new.
Overrides JComponent.removeNotify to check if this button is currently set as the default button on the RootPane and if so sets the RootPane's default button to null to ensure the RootPane doesn't hold onto an invalid button reference.
void setDefaultCapable(boolean) Documentation changed from old to new.
Sets the defaultCapable property which determines whether this button can be made the default button for its root pane.
void updateUI() Documentation changed from old to new.
Resets the UI property to a value from the current look and feel.