Using java to create a web browser

后端 未结 8 2276
眼角桃花
眼角桃花 2020-12-03 11:32

Is it possible to use Java to build a web browser like Internet Explorer that will open all the web pages and display all the contents?

8条回答
  •  醉酒成梦
    2020-12-03 12:34

    Yes, it is possible. JWebPane is a work in progress migration of Webkit. It is supposed to be included in JDK7 but I wouldn't hold my breath.

    JWebPane browser = new JWebPane();
    new JFrame("Browser").add(browser);
    browser.load(someURL);
    

提交回复
热议问题