I am having a problem with WebView.
private WebView errorHelp;
errorHelp is placed at the center of the BorderPane. When I execute the following load url.
errorHelp.getEngine().load( myUrl );
The web page displays - but the scroll position is near the bottom. Why wouldn't it start at the top? I use the WebView in other places and it works as expected.
Is there a way to force the scroll position to 0 after a page is loaded?
Are you sure the url in that case isn't linking to an anchor on the page somewhere, something like this: http://docs.oracle.com/javafx/2/webview/jfxpub-webview.htm#CEGHBDHF where that hashtag will cause the page to open up scrolled down to a specific example on the page? Just the first thing that came to mind reading your question.