-
Bug
-
Resolution: Fixed
-
P5
-
1.2.0
-
swing1.0.2
-
x86
-
windows_nt
Swing Source/JavaDoc output has parms 2 & 3 reversed for JTextComponent.loadKeyMap method.
Using Swing 1.0.1 and JDK 1.1.5.
To Reproduce: See com/sun/java/swing/text/JTextComponent.java lines 545-577
* JTextComponent c = new JTextPane();
* Keymap k = c.getKeymap();
* JTextComponent.loadKeymap(k, c.getActions(), defaultBindings);
Yet, method is actually defined as:
public static void loadKeymap(Keymap map, KeyBinding[] bindings, Action[] actions) {
Using Swing 1.0.1 and JDK 1.1.5.
To Reproduce: See com/sun/java/swing/text/JTextComponent.java lines 545-577
* JTextComponent c = new JTextPane();
* Keymap k = c.getKeymap();
* JTextComponent.loadKeymap(k, c.getActions(), defaultBindings);
Yet, method is actually defined as:
public static void loadKeymap(Keymap map, KeyBinding[] bindings, Action[] actions) {