使用java创建Web浏览器 [英] Using java to create a web browser
本文介绍了使用java创建Web浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以使用Java构建像Internet Explorer这样的Web浏览器,它将打开所有网页并显示所有内容?
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?
推荐答案
是的,有可能。 JWebPane是一项正在进行的Webkit迁移工作。 它应该包含在JDK7中,但我不会屏住呼吸。
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);
这篇关于使用java创建Web浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文