File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JavaFX and the fly likes Default reload button in WebView Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JavaFX
Bookmark "Default reload button in WebView" Watch "Default reload button in WebView" New topic

Default reload button in WebView

Sudhanshu Mishra
Ranch Hand

Joined: May 28, 2011
Posts: 207

Hi All,
I created a WebView in JavaFX for viewing the webpages and it works fine.
Issue is , when I right click on the WebView , I get a reload button which I did not program , so I am assuming that is the default one.This button appears awkardly outside the WebView area, not at the place where I clicked.

Can I get this resolved? Since I did not program this so I am not getting how to resolve it.
I request you all to help.

John Damien Smith
Ranch Hand

Joined: Jan 26, 2012
Posts: 102

Stack Overflow : Blocking/disabling JavaFX 2 WebView right click
webView.setContextMenuEnabled javadoc
John Damien Smith
Ranch Hand

Joined: Jan 26, 2012
Posts: 102
Also note the incorrect positioning of the contextmenu when it does display is likely a bug in the version of JavaFX that you are using.
It is likely that the positioning bug is fixed for Java 8.
I agree. Here's the link:
subject: Default reload button in WebView
Similar Threads
Jqgrid problem
Only one question in Servlet exception.
PreparedStatement to pass user input to MySQL not working
Access denied Error in the Ant