Developers have requested AWTKeyStroke/KeyStroke have the ability to distinguish location.
Comments
EVALUATION
We can probably do this for Tiger.
###@###.### 2002-01-25
We'll probably need APIs to test for equality of KeyStrokes that include
location, and that don't include location. My original idea was to have
AWTKeyStroke implement the java.util.Comparator interface, and have equals()
and compare() be inconsistent. The problem, of course, is that this would
impede use of AWTKeyStroke in Maps.
Perhaps a better idea would be simply to provide two APIs: equals() and
equalsDespiteLocation() (perhaps with a better name). Maybe equals(Object o)
and equals(Object o, boolean ignoreLocation) ?
###@###.### 2002-01-28
This bug report was filed by sky@sfbay in response to feedback on the swing
feedback alias. Since the submitter's bug report has now been processed, we
can close this a duplicate of the actual report.
###@###.### 2002-02-01