摘要
Java标准组件JEditorPane支持HTML3.2标准,但不支持被广泛采用的HTML4.0标准,无法表达网页中嵌入的多媒体信息。为此提出了一个基于本地浏览器的JavaAWT浏览器组件设计方案,采用Socket在本地浏览器和Java虚拟机之间进行通信,利用Java的AWT本地接口将浏览器组件嵌入JavaAWT/Swing应用程序,实现了在Java应用程序中提供网络浏览器的功能。
JEditorPane is a standard Java component,and it provides HTML 3.2 support but dose not support HTML 4.0 which is widely used now. It can not render the multimedia contained in HTML page. A design of Java Web browser component was presented based on a native browser. The component made use of native browser through a native process which invoked the real browser and communicated with Java process via(by) socket channel. By using Java AWT native interface, native browser was embedded into Java AWT/Swing application. This component provides the ability of rendering HTML page in Java application.
出处
《计算机应用》
CSCD
北大核心
2005年第8期1896-1898,1902,共4页
journal of Computer Applications