Results 1 to 2 of 2
  1. #1
    mwalstra is offline Member
    Join Date
    Dec 2008
    Rep Power

    Default Loading a Webpage with full IE capabilities

    Hi there,

    I currently am able to load a webpage in a JEditorPane but i need the webpage to have full IE capabilities, im sure im not the only one that ever needed this, your help will be appreciated.

    My code:
    Java Code:
    import javax.swing.JEditorPane;
    import javax.swing.JFrame;
    import javax.swing.JScrollPane;
    import javax.swing.SwingUtilities;
    public class Main {
       public static void main(String[] args) {
          SwingUtilities.invokeLater(new Runnable() {
             public void run() {
                new Main().makeUI();
       public void makeUI() {
          JEditorPane editorPane = new JEditorPane();
          JScrollPane scrollPane = new JScrollPane(editorPane);
          JFrame frame = new JFrame();
          try {
          } catch (IOException ex) {
          frame.setSize(600, 400);
    I've changed the URL for security reasons

  2. #2
    uncommon is offline Member
    Join Date
    Dec 2008
    Rep Power


    You need to look into either Applets or Java Server Pages (JSP)

    You currently have a java application and your trying to force it into a web page. That won't work(not that I know of).

    If your using eclipse, just open up a new dynamic web project and it should get you started on the right foot.

Similar Threads

  1. Secure Webpage for Logins
    By chandpuri in forum Advanced Java
    Replies: 3
    Last Post: 09-22-2009, 05:42 PM
  2. Fetch Webpage - not working
    By jodyflorian in forum New To Java
    Replies: 5
    Last Post: 10-10-2008, 02:49 PM
  3. save a webpage.....?
    By 05bit044 in forum Networking
    Replies: 1
    Last Post: 08-04-2008, 04:49 PM
  4. print webpage through applet
    By shakti singh in forum Java Applets
    Replies: 1
    Last Post: 07-22-2008, 07:17 PM
  5. post info to a webpage
    By kmp in forum Networking
    Replies: 1
    Last Post: 03-22-2008, 03:20 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts