Changing applet's heap size via HTML

From JPCT
Revision as of 00:35, 2 February 2013 by Admin (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Just add
<param name="java_arguments" value="-Xmx256m">
to your html file and change 256m to suit your needs (in MB) Ex.:
<applet code="MyApplet" archive="MyApplet.jar" codebase="." width="800" height="600">
    <param name="java_arguments" value="-Xmx256m">
</applet>