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




Deploying WebRenderer in a JTabbedPane




Deploying WebRenderer in a JTabbedPane

WebRenderer is compatible with the Swing JTabbedPane.


Download JTabbedPane example..






Example code:

import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import com.webrenderer.*;

public class TestBrowser {
        IBrowserCanvas browser;
        IBrowserCanvas browser2;
        JTextField textfield;

        public TestBrowser() {
                JFrame frame = new JFrame();
                frame.setSize(600, 400);
        public JTabbedPane content() {
                JTabbedPane tabbedPane = new JTabbedPane();
                textfield = new JTextField();                
                textfield.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e){
                //Must be called to stop License dialog
                BrowserFactory.setLicenseData("30dtrial", "CTR0GICPM7M0D89AE38LIK42");          
                //Core function to create browser
                browser = BrowserFactory.spawnInternetExplorer();
                browser2 = BrowserFactory.spawnInternetExplorer();


                tabbedPane.add("www.google.com", (Canvas)browser);
                tabbedPane.add("Blank JPanel", new JPanel());
                tabbedPane.add("www.yahoo.com", (Canvas)browser2);
                return tabbedPane;
        public static void main(String[] args) {
                new TestBrowser();



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