List of usage examples for javafx.scene.web WebView prefHeightProperty
public DoubleProperty prefHeightProperty()
From source file:ijfx.ui.widgets.PluginInfoPane.java
private void installWebView(WebView view) { this.webView = view; view.prefWidthProperty().bind(widthProperty()); view.prefHeightProperty().bind(heightProperty()); setCenter(view);//w w w .java 2s. c o m webView.addEventHandler(MouseEvent.MOUSE_CLICKED, this::onMouseClicked); messageDispayer = new RichMessageDisplayer(webView); updateWebView(); }