List of usage examples for javafx.scene.web WebView setContextMenuEnabled
public final void setContextMenuEnabled(boolean value)
From source file:de.chaosfisch.uploader.gui.renderer.TagTextArea.java
private void initPicker(final WebView webView) { webView.getEngine().loadContent(getInlineHtml()); webView.setContextMenuEnabled(false); webView.getEngine().setOnAlert(new EventHandler<WebEvent<String>>() { @Override/*w ww . ja va 2 s .co m*/ public void handle(final WebEvent<String> event) { tags.set(event.getData()); } }); getChildren().add(webView); }