title: jEditorPane as a web browser
body: <p>I am creating a web browser in Java. In this browser I am using
   JEditorPane for Browser Window. I am using "setPage(String url)" method
   to display the page. The browser can display the page but there are
   some problems which are as mentioned::</p>
  
  <ol>
  <li>The browser is not displaying the java script.</li>
  <li>It is not displaying the Applet.</li>
  <li>Brows data does not show in proper way(like as a browser(Show in image<img src="https://i.stack.imgur.com/Kgxt3.jpg" alt="alt text">)).</li>
  </ol>
  
  <p>My code is-</p>
  
  <pre><code>JEditorPane editorPane = new JEditorPane();
  String url="http://google.co.in";    
  editorPane.setEditable(false);
    try {
          editorPane.setPage(url);
    } catch (IOException e) {
        System.err.println("Attempted to read a bad URL: " + url);
    }
  }
  </code></pre>