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

Mnemonics issue : changing setLabelFor() target fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • 8
    • 8
    • javafx
    • jdk1.8.0 b88

      Consider the following test case on Windows:
      1. Check "label1.setLabelFor(button1)";
      2. Check "label1.mnemonicsParse()";

      3. Push "Alt"; Push "1"; The button "Button 1" will get focus;

      4.Check "label1.setLabelFor(button2)";
      5. Push "1";
      The button "Button 1" will get focus but it is expected that it won't be focused in such case.

      in b85 the expected behavior is reproducible.

            miflemi Mick Fleming
            dzinkevi Dmitry Zinkevich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: