Note: Advice in this article will only work for JxBrowser 6. See the corresponding article for JxBrowser 7 here.(注意:本文中的建议仅适用于JxBrowser6,JxBrowser7相应文章请点击这里。)

You can use JxBrowser in Java Applet the same way as a standard Java library.(您可以像使用标准Java库一样在Java Applet中使用JxBrowser。)

JxBrowser requires access to file system, so all the JAR libraries of your Java Applet must be signed. JxBrowser JAR files are signed with TeamDev signature by default, so you don’t need to to sign them.(JxBrowser需要访问文件系统,因此必须对Java Applet的所有JAR库进行签名。默认情况下,JxBrowser JAR文件使用TeamDev签名进行签名,因此您无需对其进行签名。)

Your APPLET tag on a web page should look like:(您在网页上的APPLET标签应如下所示:)

<APPLET code="com.mycompany.myapp.Application.class" codebase="."
    archive="myapp.jar, jxbrowser.jar,jxbrowser-win32.jar,
        jxbrowser-linux64.jar" WIDTH=800 HEIGHT=400>
    Browser doesn't support Java Applets.

Where the myapp.jar file is your application JAR file.(其中myapp.jar文件是您的应用程序JAR文件。)

Note: If your Java Applet supports only Windows platform, there is no need to include the the jxbrowser-mac and jxbrowser-linux64 JAR files into the archive attribute.(注意:如果您的Java Applet仅支持Windows平台,则无需将jxbrowser-mac和jxbrowser-linux64 JAR文件包含在archive属性中。)