WHITE PAPERS  |  PRICING  |  DOWNLOADS

 

username

password

 

 

 

 

 

 

 

 

 

 

  Swing Edition Details  

 

  > Features  

  > Key Benefits  

  > Screenshots  

  > Standards Supported  

  > Pricing  

  > Download Now

 

 

  Developer Resources  

 

  > API Documentation  

  > Developers Guide  

  > Code Examples  

  > Updated Builds  

  > Technical Articles  

 

 

 

 

 

Jump to:

General WebRenderer Functions

  WebRenderer example code base.

 

Advanced WebRenderer functions

 

 

 

 

 

  

  

 

WebRenderer default context menu

 

 

 

Using the WebRenderer default context menu

The WebRenderer default context menu is enabled by default. When the user righ-clicks on the WebRenderer canvas the default context menu will show. The context menu can be disabled and a standard Java context menu can be used.


IBrowserCanvas browser = BrowserFactory.spawnMozilla();

//Enables the WebRenderer default context menu. Pass false to disable the context menu.
browser.enableDefaultContextMenu(true);

//To check to see if the default context menu is enabled
boolean contextShowing = browser.getDefaultContextMenuStatus();
 

  top

 

 

 Sun, Sun Microsystems, and the Sun Logo are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries 

Privacy Policy  |   Disclaimer