title: Java: How to open a webpage like Google in a JFrame/JPanel?
body: <p>I've looked around and everything always end with www.google.com looking like this: Webpage bug?</p>
  
  <p><img src="https://i.stack.imgur.com/8h9Az.png" alt="enter image description here"></p>
  
  <p>How can I open a webpage within a JFrame/JPanel and have it so that it looks like the normal whole page?</p>
  
  <p>This is what I last tried:</p>
  
  <pre><code> JEditorPane website = null;
   try {
      website = new JEditorPane("http://www.google.com/");
  } catch (IOException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
  }
  website.setEditable(false);
  
  JFrame frame = new JFrame("Google");
  frame.add(new JScrollPane(website));
  frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
  frame.setVisible(true);
  frame.pack();
  }
  </code></pre>