Generated by
JDiff

Class javax.swing.KeyStroke

The superclass changed from java.lang.Object to java.awt.AWTKeyStroke.
Removed interface java.io.Serializable.
Documentation changed from old to new.

Changed Methods
boolean equals(Object) Method was locally defined, but is now inherited from AWTKeyStroke. Change from non-final to final.
Returns true if this object is identical to the specified object.
char getKeyChar() Documentation changed from old to new.
Method was locally defined, but is now inherited from AWTKeyStroke. Change from non-final to final.
Returns the character for this AWTKeyStroke.
int getKeyCode() Documentation changed from old to new.
Method was locally defined, but is now inherited from AWTKeyStroke. Change from non-final to final.
Returns the numeric key code for this AWTKeyStroke.
KeyStroke getKeyStrokeForEvent(KeyEvent) Documentation changed from old to new.
Returns a KeyStroke which represents the stroke which generated a given KeyEvent.
int getModifiers() Documentation changed from old to new.
Method was locally defined, but is now inherited from AWTKeyStroke. Change from non-final to final.
Returns the modifier keys for this AWTKeyStroke.
int hashCode() Documentation changed from old to new.
Method was locally defined, but is now inherited from AWTKeyStroke.
Returns a numeric value for this object that is likely to be unique making it a good choice as the index value in a hash table.
boolean isOnKeyRelease() Documentation changed from old to new.
Method was locally defined, but is now inherited from AWTKeyStroke. Change from non-final to final.
Returns whether this AWTKeyStroke represents a key release.
String toString() Method was locally defined, but is now inherited from AWTKeyStroke. Returns a string that displays and identifies this object's properties.
KeyStroke getKeyStroke(char) Documentation changed from old to new.
Returns a shared instance of a KeyStroke that represents a KEY_TYPED event for the specified character.
KeyStroke getKeyStroke(char, boolean) Documentation changed from old to new.
use getKeyStroke(char)
KeyStroke getKeyStroke(int, int) Documentation changed from old to new.
Returns a shared instance of a KeyStroke given a numeric key code and a set of modifiers.
KeyStroke getKeyStroke(int, int, boolean) Documentation changed from old to new.
Returns a shared instance of a KeyStroke given a numeric key code and a set of modifiers specifying whether the key is activated when it is pressed or released.
KeyStroke getKeyStroke(Character, int) Documentation changed from old to new.
Returns a shared instance of a KeyStroke given a Character object and a set of modifiers.
KeyStroke getKeyStroke(String) Documentation changed from old to new.
Parses a string and returns a KeyStroke.