Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

SceneBuilder 1.1 + WebView

jerry kramskoyDec 24 2013

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

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jan 21 2014
Added on Dec 24 2013
0 comments
693 views