Hi,
I am seeing an issue with FXMLLoader buidling a scene graph that contains a WebView. The trace below shows that a method is being looked for that doesn't exist in WebViewBuilder, according to the API documentation.
The method in question does exist in WebView. Despite this, the WebView appears and works.
Dec 24, 2013 11:32:27 AM javafx.fxml.JavaFXBuilder$ObjectBuilder put
WARNING: Failed to set class javafx.scene.web.WebView.contextMenuEnabled using class javafx.scene.web.WebViewBuilder
java.lang.IllegalArgumentException: Method contextMenuEnabled could not be found at class javafx.scene.web.WebViewBuilder
at javafx.fxml.JavaFXBuilder.findMethod(Unknown Source)
at javafx.fxml.JavaFXBuilder.access$500(Unknown Source)
at javafx.fxml.JavaFXBuilder$ObjectBuilder.put(Unknown Source)
at javafx.fxml.JavaFXBuilder$ObjectBuilder.put(Unknown Source)
at javafx.fxml.FXMLLoader$Element.applyProperty(Unknown Source)
at javafx.fxml.FXMLLoader$Element.processPropertyAttribute(Unknown Source)
at javafx.fxml.FXMLLoader$Element.processInstancePropertyAttributes(Unknown Source)
at javafx.fxml.FXMLLoader$ValueElement.processStartElement(Unknown Source)
at javafx.fxml.FXMLLoader.processStartElement(Unknown Source)
at javafx.fxml.FXMLLoader.load(Unknown Source)
at javafx.fxml.FXMLLoader.load(Unknown Source)
at javafx.fxml.FXMLLoader.load(Unknown Source)
at javafx.fxml.FXMLLoader.load(Unknown Source)
at javafx.fxml.FXMLLoader.load(Unknown Source)
at javafx.fxml.FXMLLoader.load(Unknown Source)
at javafx.fxml.FXMLLoader.load(Unknown Source)
at javafx.startup.MainJavaFX.start(MainJavaFX.java:56)
at com.sun.javafx.application.LauncherImpl$5.run(Unknown Source)
at com.sun.javafx.application.PlatformImpl$5.run(Unknown Source)
at com.sun.javafx.application.PlatformImpl$4$1.run(Unknown Source)
at com.sun.javafx.application.PlatformImpl$4$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl$4.run(Unknown Source)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.access$100(Unknown Source)
at com.sun.glass.ui.win.WinApplication$3$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
I have tried ticking and clearing the option in Scene Builder's WebView properties, regarding contextMenuEnabled, but this has no effect on the above.
cheers, Jerry