User    Pass    













Key Benefits




Standards Supported




Download Now


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




JavaScript to Java communication with WebRenderer



Click here to download the complete example code


Communicating from JavaScript back to Java

The WebRenderer
 WRUIprotocol allows for communication from JavaScript  to Java. Using the WRUI protocol you can directly communicate with Java and with some simple handler code you can drive methods, assign variables etc.

Example: (HTML file with JavaScript calling through to Java when an HTML Button is clicked)

                <SCRIPT JAVASCRIPT>
                                function runJavaCode(){
                                                document.location = "wrui://runConsoleOutput";

                <HEAD><TITLE>WebRenderer - WRUI Test Page</TITLE></HEAD>
                Press this button <INPUT type=button value='Click to execute' onclick='runJavaCode()'> execute                 JavaScript that will call a Java function

// Java
                 browser.addBrowserListener(new BrowserAdapter(){
                        public void onBeforeNavigate(BrowserEvent e){
                                //Catching the WRUI communication
                                        //Calling a Java method using WRUI as a communication bridge

Click here to download the complete example code



Millions of deployments and counting.. Users of JadeLiquid's tools can be found in every corner of the Earth




 > Enabling Flash in WebRenderer - Article
 > Browser Zoom Effect using WebRenderer - Article
 > Applet deployment techniques - Article
 > WebRenderer core features on display! - Article
   Additional News  
 > Enabling HTML 5 WebSockets in WebRenderer - Blog
 > 64bit WebRenderer deployment with Web Start - Blog
 > Deploying WebRenderer Server Edition in Tomcat - Blog
 > WebRenderer 6 adds performance text search - Blog


 Java and the Java Logo are trademarks or registered trademarks of Oracle Corporation in the United States and other countries 

Privacy Policy  |   Disclaimer