WHITE PAPERS  |  PRICING  |  DOWNLOADS

 

username

password

 

 

 

 

 

 

 

 

 

 

  Server 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

 

Application test examples

 

Deploying WebRenderer

WebRenderer DOM

  

  

 

WebRenderer Clipboard functions

 

 

 

WebRenderer Clipboard functions

WebRenderer has some useful Clipboard methods adding Copy, Cut and Paste functionality. The following is an example usage of these methods.

//Creating the browser
IBrowserCanvas browser = BrowserFactory.spawnMozilla();

//Copy selected item or text
browser.copy();

//Cut a selected item or text
browser.cut();

//Paste item from the clipboard
browser.paste();

Accessing data placed on the Clipboard 

Accessing data placed on the Clipboard by WebRenderer is the same as accessing any data on the Clipboard. The java.awt.datatransfer package is used to access data on the clipboard. Please see the J2SE API for more information.

  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