-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0
-
beta
-
sparc
-
solaris_2.6
Name: ooR10001 Date: 11/20/2000
Specification for javax.swing.JComponent.setInputMap() is contradictory, because
from one side it says:
------------------------------------------------------------
If condition is WHEN_IN_FOCUSED_WINDOW and map is not a
ComponentInputMap, an IllegalArgumentException will be thrown
------------------------------------------------------------
>From the other side, the same doc says below:
------------------------------------------------------------
Throws:
IllegalArgumentException - if condition is WHEN_IN_FOCUSED_WINDOW and map
is an instance of ComponentInputMap, or if condition is not one of the
legal values specified above
------------------------------------------------------------
This needs to be fixed. Proposing that the first assertion is true.
======================================================================