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

[TitledPane] mnemonics are not shown on alt.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 7u6, 8
    • javafx
    • 2.2.0b21, controls scrum of jfx8 of august17.

      Run the code:

          @Override
          public void start(Stage stage) throws Exception {
              Accordion acc = new Accordion();

              TitledPane pane1 = new TitledPane();
              pane1.setText("Some _text");
              pane1.setMnemonicParsing(true);
              pane1.setGraphic(new Label("Node"));
              pane1.setContent(new Button("Some _button"));
              acc.getPanes().addAll(pane1);

              VBox pane = new VBox();
              pane.getChildren().addAll(acc);
              Scene scene = new Scene(pane, 300, 700);
              stage.setScene(scene);
              stage.show();
          }

      When I expand node and press alt, i see underlined "b" in button, but "t" is not underlined. But, alt+b alt+t transfers focus from button to titledPane and back.

            raginip Ragini Prasad (Inactive)
            akirov Alexander Kirov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: