permaculture playing cards*
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


JavaRanch » Java Forums » Java » JavaFX
Bookmark "Default reload button in WebView" Watch "Default reload button in WebView" New topic
Author

Default reload button in WebView

Sudhanshu Mishra
Ranch Hand

Joined: May 28, 2011
Posts: 217

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.

Thanks.....
John Damien Smith
Ranch Hand

Joined: Jan 26, 2012
Posts: 144
    
    9


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

Joined: Jan 26, 2012
Posts: 144
    
    9
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.
 
GeeCON Prague 2014
 
subject: Default reload button in WebView