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

[TextField] Mouse click makes the caret disappear.

XMLWordPrintable

      To reproduce simply run the app and click at the text field.


      public void start(Stage stage) {

              HBox root = new HBox(20d);

              TextField textField = new TextField();
              root.getChildren().add(textField);
              
              root.getChildren().add(new Button("Button"));
              
              Scene scene = new Scene(root, 300, 250);

              stage.setScene(scene);
              stage.setTitle(System.getProperty("java.runtime.version") + "; " + System.getProperty("javafx.runtime.version"));
              stage.show();
          }

            leifs Leif Samuelsson (Inactive)
            dzinkevi Dmitry Zinkevich (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: