Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4131006

JTextComponent.java & JavaDoc output has params 2 & 3 reversed for loadKeyMap

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      swing1.0.2
    • CPU:
      x86
    • OS:
      windows_nt

      Description

      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) {

        Attachments

          Activity

            People

            Assignee:
            tprinzinsunw Timothy Prinzing (Inactive)
            Reporter:
            jbenoit Jonathan Benoit (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: