-
Bug
-
Resolution: Fixed
-
P3
-
7u6
Run this code and press Tab key (focus of button gone) and press Tab again - focus traversing is break
@Override
public void start(Stage primaryStage) {
primaryStage.setTitle("Hello World!");
Button btn = new Button();
btn.setText("Say 'Hello World'");
Label label = new Label("Text label");
label.setFocusTraversable(true);
VBox root = new VBox();
Button btn2 = new Button();
btn.setText("Say 'Hello World'");
root.getChildren().addAll(btn, label, btn2);
primaryStage.setScene(new Scene(root, 300, 250));
primaryStage.show();
}
@Override
public void start(Stage primaryStage) {
primaryStage.setTitle("Hello World!");
Button btn = new Button();
btn.setText("Say 'Hello World'");
Label label = new Label("Text label");
label.setFocusTraversable(true);
VBox root = new VBox();
Button btn2 = new Button();
btn.setText("Say 'Hello World'");
root.getChildren().addAll(btn, label, btn2);
primaryStage.setScene(new Scene(root, 300, 250));
primaryStage.show();
}
- duplicates
-
JDK-8126010 [ProgressBar] setFocusTraversable(true) breaks focus traversing
- Closed
- relates to
-
JDK-8126010 [ProgressBar] setFocusTraversable(true) breaks focus traversing
- Closed
-
JDK-8101793 [Label] setLabelFor not working
- Closed