public static void main(String[] args) throws Exception {
   Logger.getLogger("org.lobobrowser").setLevel(Level.WARNING);
   PlatformInit.getInstance().init(false, false);
   BrowserPanel panel = TestWindow.newWindow();
   for (int i = 0; i < 100; i++) {
     newTest(panel);
   }
 }
  public static void main(String[] args) throws Exception {
    // We'll disable all logging but WARNING.
    Logger.getLogger("org.lobobrowser").setLevel(Level.WARNING);

    // This step is necessary for extensions (including HTML) to work:
    PlatformInit.getInstance().init(false, false);

    // Create window with a specific size.
    JFrame frame = new ContentObjectDemo();
    frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
    frame.setSize(600, 400);
    frame.setVisible(true);
  }