This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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 Head First Android this week in the Android 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: 235

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: 213

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

Joined: Jan 26, 2012
Posts: 213
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
It's not a secret anymore!