A control that allows for users to edit text, and apply styling to this text.
An event indicating a
This package provides means for loading and displaying Web content. Its functionality is implemented by two core classes:
WebEngine is a non-visual component capable of
loading Web pages, creating DOM objects for them, and running scripts
WebView is a
presents a Web page managed by a
WebEngine associated with it. This association is
established at the time
WebView is instantiated, and cannot be
WebView should be created and
manipulated on FX User thread.
The code snippet below shows a typical usage scenario:
WebView webView = new WebView(); WebEngine webEngine = webView.getEngine(); webEngine.load("http://javafx.com"); // add webView to the scene
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.