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

Buttons only visible after first hover

    Details

    • Subcomponent:
      web

      Description

      First the button is only displayed as text and after the first hover the button is correctly displayed as a button.

      public class Test extends Application {

      protected ApplicationContext createApplicationContext(){
      return new ApplicationContext();
      }

      @Override
      public void start(final Stage primaryStage) { // Stage = window
      BorderPane borderPane = new BorderPane();
      final Scene scene = new Scene(borderPane, 1300, 900, Color.WHEAT);

      primaryStage.setScene(scene);
      primaryStage.show();

      final WebView browser = new WebView();
              borderPane.setCenter(browser);
      WebEngine webEngine = browser.getEngine();

      webEngine.loadContent("<html><style></style><body><button>test</button></body></html>");

      }
      public static void main(final String[] arguments) {
      Application.launch(arguments);
      }

      }

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nnigam Nancy Nigam
                Reporter:
                duke J. Duke (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Imported: