opsu-dance/lib/lwjgl-2.9.1/javadoc/org/lwjgl/util/applet/AppletLoader.html
2014-06-29 22:17:04 -04:00

2381 lines
96 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_17) on Mon Dec 02 20:33:02 CET 2013 -->
<title>AppletLoader (LWJGL API)</title>
<meta name="date" content="2013-12-02">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="AppletLoader (LWJGL API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/AppletLoader.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Class</li>
<li>Next Class</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/lwjgl/util/applet/AppletLoader.html" target="_top">Frames</a></li>
<li><a href="AppletLoader.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested_classes_inherited_from_class_java.applet.Applet">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.lwjgl.util.applet</div>
<h2 title="Class AppletLoader" class="title">Class AppletLoader</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>java.awt.Component</li>
<li>
<ul class="inheritance">
<li>java.awt.Container</li>
<li>
<ul class="inheritance">
<li>java.awt.Panel</li>
<li>
<ul class="inheritance">
<li>java.applet.Applet</li>
<li>
<ul class="inheritance">
<li>org.lwjgl.util.applet.AppletLoader</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.applet.AppletStub, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.lang.Runnable, javax.accessibility.Accessible</dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">AppletLoader</span>
extends java.applet.Applet
implements java.lang.Runnable, java.applet.AppletStub</pre>
<div class="block"><p>
The AppletLoader enables deployment of LWJGL to applets in an easy
and polished way. The loader will display a configurable logo and progressbar
while the relevant jars (generic and native) are downloaded from a specified source.
</p>
<p>
The downloaded jars are extracted to the users temporary directory - and if enabled, cached for
faster loading in future uses.
</p>
<p>
The following applet parameters are required:
<ul>
<li>al_main - [String] Full package and class the applet to instantiate and display when loaded.</li>
<li>al_jars - [String] Comma separated list of jars to download.</li>
<p>
<li>al_windows - [String] Jar containing native files for windows.</li>
<li>al_linux - [String] Jar containing native files for linux.</li>
<li>al_mac - [String] Jar containing native files for mac.</li>
<li>al_solaris - [String] Jar containing native files for solaris.</li>
<li>al_freebsd - [String] Jar containing native files for freebsd.</li>
</ul>
</p>
<p>
Additionally the following parameters can be supplied to tweak the behaviour of the AppletLoader.
<ul>
<li>al_cache - [boolean] Whether to use cache system. <i>Default: true</i>.</li>
<li>al_version - [int or float] Version of deployment. If this is specified, the jars will be cached and
reused if the version matches. If version doesn't match all of the files are reloaded.</li>
<li>al_debug - [boolean] Whether to enable debug mode. <i>Default: false</i>.</li>
<li>al_min_jre - [String] Specify the minimum jre version that the applet requires, should be in format like 1.6.0_24 or a subset like 1.6 <i>Default: 1.5</i>.</li>
<li>al_prepend_host - [boolean] Whether to limit caching to this domain, disable if your applet is hosted on multiple domains and needs to share the cache. <i>Default: true</i>.</li>
<li>al_lookup_threads - [int] Specify the number of concurrent threads to use to get file information before downloading. <i>Default: 1</i>.</li>
<p>
<li>al_windows64 - [String] If specified it will be used instead of al_windows on 64bit windows systems.</li>
<li>al_windows32 - [String] If specified it will be used instead of al_windows on 32bit windows systems.</li>
<li>al_linux64 - [String] If specified it will be used instead of al_linux on 64bit linux systems.</li>
<li>al_linux32 - [String] If specified it will be used instead of al_linux on 32bit linux systems.</li>
<li>al_mac32 - [String] If specified it will be used instead of al_mac on 64bit mac systems.</li>
<li>al_mac64 - [String] If specified it will be used instead of al_mac on 32bit mac systems.</li>
<li>al_macppc - [String] If specified it will be used instead of al_mac on PPC mac systems.</li>
<p>
<li>boxbgcolor - [String] any String AWT color ("red", "blue", etc), RGB (0-255) or hex formated color (#RRGGBB) to use as background. <i>Default: #ffffff</i>.</li>
<li>boxfgcolor - [String] any String AWT color ("red", "blue", etc), RGB (0-255) or hex formated color (#RRGGBB) to use as foreground. <i>Default: #000000</i>.</li>
<p>
<li>al_logo - [String Path of of the logo resource to paint while loading.<i>Default: "appletlogo.gif"</i>.</li>
<li>al_progressbar - [String] Path of the progressbar resource to paint on top of the logo, width clipped by percentage.<i>Default: "appletprogress.gif"</i>.</li>
<p>
<li>lwjgl_arguments - </li> [String] used to pass LWJGL parameters to LWJGL e.g. ("-Dorg.lwjgl.input.Mouse.allowNegativeMouseCoords=true -Dorg.lwjgl.util.Debug=true").</li>
</ul>
</p></div>
<dl><dt><span class="strong">Version:</span></dt>
<dd>$Revision$
$Id$
Contributors:
<ul>
<li>Arielsan</li>
<li>Bobjob</li>
<li>Dashiva</li>
<li>Dr_evil</li>
<li>Elias Naur</li>
<li>Kevin Glass</li>
<li>Matthias Mann</li>
<li>Mickelukas</li>
<li>NateS</li>
<li>Pelle Johnsen</li>
<li>Riven</li>
<li>Ruben01</li>
<li>Shannon Smith</li>
</ul></dd>
<dt><span class="strong">Author:</span></dt>
<dd>kappaOne <one.kappa@gmail.com>, Brian Matzon <brian@matzon.dk></dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../serialized-form.html#org.lwjgl.util.applet.AppletLoader">Serialized Form</a></dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested_class_summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="nested_classes_inherited_from_class_java.applet.Applet">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from class&nbsp;java.applet.Applet</h3>
<code>java.applet.Applet.AccessibleApplet</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="nested_classes_inherited_from_class_java.awt.Panel">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from class&nbsp;java.awt.Panel</h3>
<code>java.awt.Panel.AccessibleAWTPanel</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="nested_classes_inherited_from_class_java.awt.Container">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from class&nbsp;java.awt.Container</h3>
<code>java.awt.Container.AccessibleAWTContainer</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="nested_classes_inherited_from_class_java.awt.Component">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from class&nbsp;java.awt.Component</h3>
<code>java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy</code></li>
</ul>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.lang.Thread</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#animationThread">animationThread</a></strong></code>
<div class="block">animation thread that renders our load screen while loading</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected java.awt.Color</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#bgColor">bgColor</a></strong></code>
<div class="block">background color of applet</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#cacheEnabled">cacheEnabled</a></strong></code>
<div class="block">whether to use caching system, only download files that have changed</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#certificateRefused">certificateRefused</a></strong></code>
<div class="block">whether a certificate refused error occurred</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.lang.String[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#certificateRefusedMessage">certificateRefusedMessage</a></strong></code>
<div class="block">error message to display if user refuses to accept certificate</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected java.lang.ClassLoader</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#classLoader">classLoader</a></strong></code>
<div class="block">classLoader used to add downloaded jars to the classpath</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#concurrentLookupThreads">concurrentLookupThreads</a></strong></code>
<div class="block">threads to use when fetching information of files to be downloaded</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#currentSizeExtract">currentSizeExtract</a></strong></code>
<div class="block">current size of extracted in bytes</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#debugMode">debugMode</a></strong></code>
<div class="block">whether we're running in debug mode</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected java.lang.String[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#errorMessage">errorMessage</a></strong></code>
<div class="block">fatal error message to display</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#fatalError">fatalError</a></strong></code>
<div class="block">whether a fatal error occurred</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected java.awt.Color</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#fgColor">fgColor</a></strong></code>
<div class="block">color to write foreground in</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected int[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#fileSizes">fileSizes</a></strong></code>
<div class="block">Sizes of files to download</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected java.util.HashMap&lt;java.lang.String,java.lang.Long&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#filesLastModified">filesLastModified</a></strong></code>
<div class="block">Used to store file names with lastModified time</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.lang.String[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#genericErrorMessage">genericErrorMessage</a></strong></code>
<div class="block">generic error message to display on error</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#headless">headless</a></strong></code>
<div class="block">whether to run in headless mode</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.lang.String[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#headlessMessage">headlessMessage</a></strong></code>
<div class="block">messages to be passed via liveconnect in headless mode</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#headlessWaiting">headlessWaiting</a></strong></code>
<div class="block">whether to switch applets in headless mode or wait longer</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.lang.Thread</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#loaderThread">loaderThread</a></strong></code>
<div class="block">actual thread that does the loading</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected java.awt.Image</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#logo">logo</a></strong></code>
<div class="block">logo to be shown while loading</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.awt.Image</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#logoBuffer">logoBuffer</a></strong></code>
<div class="block">logo to be shown while loading</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected java.applet.Applet</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#lwjglApplet">lwjglApplet</a></strong></code>
<div class="block">applet to load after all downloads are complete</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#lzmaSupported">lzmaSupported</a></strong></code>
<div class="block">whether lzma is supported</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected java.lang.String[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#minimumJREMessage">minimumJREMessage</a></strong></code>
<div class="block">error message to display if minimum JRE version is not met</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#minimumJreNotFound">minimumJreNotFound</a></strong></code>
<div class="block">whether the minimum required JRE version is not found</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#nativeJarCount">nativeJarCount</a></strong></code>
<div class="block">Number of native jars</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#natives_loaded">natives_loaded</a></strong></code>
<div class="block">have natives been loaded by another instance of this applet</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected java.awt.Image</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#offscreen">offscreen</a></strong></code>
<div class="block">offscreen image used</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#pack200Supported">pack200Supported</a></strong></code>
<div class="block">whether pack200 is supported</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#painting">painting</a></strong></code>
<div class="block">set to true while painting is done</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#percentage">percentage</a></strong></code>
<div class="block">used to calculate length of progress bar</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#prependHost">prependHost</a></strong></code>
<div class="block">whether to prepend host to cache path</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.awt.Image</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#progressbar">progressbar</a></strong></code>
<div class="block">progressbar to render while loading</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected java.awt.Image</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#progressbarBuffer">progressbarBuffer</a></strong></code>
<div class="block">progressbar to render while loading</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#state">state</a></strong></code>
<div class="block">state of applet loader</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#STATE_CHECK_JRE_VERSION">STATE_CHECK_JRE_VERSION</a></strong></code>
<div class="block">checking version of jre</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#STATE_CHECKING_CACHE">STATE_CHECKING_CACHE</a></strong></code>
<div class="block">checking for already downloaded files</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#STATE_CHECKING_FOR_UPDATES">STATE_CHECKING_FOR_UPDATES</a></strong></code>
<div class="block">checking if any updates are available for cache files</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#STATE_DETERMINING_PACKAGES">STATE_DETERMINING_PACKAGES</a></strong></code>
<div class="block">determining which packages that are required</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#STATE_DONE">STATE_DONE</a></strong></code>
<div class="block">done</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#STATE_DOWNLOADING">STATE_DOWNLOADING</a></strong></code>
<div class="block">downloading packages</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#STATE_EXTRACTING_PACKAGES">STATE_EXTRACTING_PACKAGES</a></strong></code>
<div class="block">extracting packages</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#STATE_INIT">STATE_INIT</a></strong></code>
<div class="block">initializing</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#STATE_INITIALIZE_REAL_APPLET">STATE_INITIALIZE_REAL_APPLET</a></strong></code>
<div class="block">initializing real applet</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#STATE_START_REAL_APPLET">STATE_START_REAL_APPLET</a></strong></code>
<div class="block">stating real applet</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#STATE_SWITCHING_APPLET">STATE_SWITCHING_APPLET</a></strong></code>
<div class="block">switching to real applet</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#STATE_UPDATING_CLASSPATH">STATE_UPDATING_CLASSPATH</a></strong></code>
<div class="block">updating the classpath</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#STATE_VALIDATING_PACKAGES">STATE_VALIDATING_PACKAGES</a></strong></code>
<div class="block">validating packages</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#subtaskMessage">subtaskMessage</a></strong></code>
<div class="block">String to display as a subtask</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#totalDownloadSize">totalDownloadSize</a></strong></code>
<div class="block">total size of download in bytes</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#totalSizeExtract">totalSizeExtract</a></strong></code>
<div class="block">total size of extracted in bytes</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected java.net.URL[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#urlList">urlList</a></strong></code>
<div class="block">urls of the jars to download</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_java.awt.Component">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;java.awt.Component</h3>
<code>BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_java.awt.image.ImageObserver">
<!-- -->
</a>
<h3>Fields inherited from interface&nbsp;java.awt.image.ImageObserver</h3>
<code>ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH</code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#AppletLoader()">AppletLoader</a></strong>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#appletResize(int, int)">appletResize</a></strong>(int&nbsp;width,
int&nbsp;height)</code>
<div class="block">Transfers the call of AppletResize from the stub to the lwjglApplet.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#certificatesMatch(java.security.cert.Certificate[], java.security.cert.Certificate[])">certificatesMatch</a></strong>(java.security.cert.Certificate[]&nbsp;certs1,
java.security.cert.Certificate[]&nbsp;certs2)</code>
<div class="block">Compare two certificate chains to see if they match</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#cleanUp()">cleanUp</a></strong>()</code>
<div class="block">Clean up resources</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#compareVersion(java.io.File, java.lang.String)">compareVersion</a></strong>(java.io.File&nbsp;versionFile,
java.lang.String&nbsp;version)</code>
<div class="block">This method will return true if the version stored in the file
matches the supplied String version.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#debug_sleep(long)">debug_sleep</a></strong>(long&nbsp;ms)</code>
<div class="block">Utility method for sleeping
Will only really sleep if debug has been enabled</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#destroy()">destroy</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#downloadJars(java.lang.String)">downloadJars</a></strong>(java.lang.String&nbsp;path)</code>
<div class="block">Will download the jars from the server using the list of urls
in urlList, while at the same time updating progress bar</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#extractGZip(java.lang.String, java.lang.String)">extractGZip</a></strong>(java.lang.String&nbsp;in,
java.lang.String&nbsp;out)</code>
<div class="block">Extract GZip File</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#extractJars(java.lang.String)">extractJars</a></strong>(java.lang.String&nbsp;path)</code>
<div class="block">Extract all jars from any lzma/gz/pack files</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#extractLZMA(java.lang.String, java.lang.String)">extractLZMA</a></strong>(java.lang.String&nbsp;in,
java.lang.String&nbsp;out)</code>
<div class="block">Extract LZMA File</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#extractNatives(java.lang.String)">extractNatives</a></strong>(java.lang.String&nbsp;path)</code>
<div class="block">This method will extract all file from the native jar and extract them
to the subdirectory called "natives" in the local path, will also check
to see if the native jar files is signed properly</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#extractPack(java.lang.String, java.lang.String)">extractPack</a></strong>(java.lang.String&nbsp;in,
java.lang.String&nbsp;out)</code>
<div class="block">Extract Pack File</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#fatalErrorOccured(java.lang.String, java.lang.Exception)">fatalErrorOccured</a></strong>(java.lang.String&nbsp;error,
java.lang.Exception&nbsp;e)</code>
<div class="block">Sets the error message and print debug information</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.applet.Applet</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#getApplet()">getApplet</a></strong>()</code>
<div class="block">Retrieves the applet that has been loaded.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#getBooleanParameter(java.lang.String, boolean)">getBooleanParameter</a></strong>(java.lang.String&nbsp;name,
boolean&nbsp;defaultValue)</code>
<div class="block">Retrieves the boolean value for the parameter</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#getCacheDirectory()">getCacheDirectory</a></strong>()</code>
<div class="block">This method will return the location of the cache directory.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.awt.Color</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#getColor(java.lang.String, java.awt.Color)">getColor</a></strong>(java.lang.String&nbsp;param,
java.awt.Color&nbsp;defaultColor)</code>
<div class="block">Retrieves the color</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected static java.security.cert.Certificate[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#getCurrentCertificates()">getCurrentCertificates</a></strong>()</code>
<div class="block">Returns the current certificate chain of the AppletLoader</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#getDescriptionForState()">getDescriptionForState</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#getFileName(java.net.URL)">getFileName</a></strong>(java.net.URL&nbsp;url)</code>
<div class="block">Get file name portion of URL.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.awt.Image</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#getImage(java.lang.String)">getImage</a></strong>(java.lang.String&nbsp;s)</code>
<div class="block">Get Image from path provided</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.awt.Image</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#getImage(java.net.URL)">getImage</a></strong>(java.net.URL&nbsp;url)</code>
<div class="block">Get Image from path provided</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#getIntParameter(java.lang.String, int)">getIntParameter</a></strong>(java.lang.String&nbsp;name,
int&nbsp;defaultValue)</code>
<div class="block">Retrieves the int value for the applet</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#getJarInfo(java.io.File)">getJarInfo</a></strong>(java.io.File&nbsp;dir)</code>
<div class="block">This method will get the files sizes of the files to download.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.io.InputStream</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#getJarInputStream(java.lang.String, java.net.URLConnection)">getJarInputStream</a></strong>(java.lang.String&nbsp;currentFile,
java.net.URLConnection&nbsp;urlconnection)</code>
<div class="block">Retrieves a jar files input stream.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#getJarName(java.net.URL)">getJarName</a></strong>(java.net.URL&nbsp;url)</code>
<div class="block">Get jar name from URL.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#getLWJGLCacheDir()">getLWJGLCacheDir</a></strong>()</code>
<div class="block">Get path to the lwjgl cache directory.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#getMessages()">getMessages</a></strong>()</code>
<div class="block">Retrieves the current message for the current status.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#getStatus()">getStatus</a></strong>()</code>
<div class="block">Retrieves the current status of the AppletLoader and is
used by liveconnect when running in headless mode.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#getStringParameter(java.lang.String, java.lang.String)">getStringParameter</a></strong>(java.lang.String&nbsp;name,
java.lang.String&nbsp;defaultValue)</code>
<div class="block">Retrieves the String value for the parameter</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#imageUpdate(java.awt.Image, int, int, int, int, int)">imageUpdate</a></strong>(java.awt.Image&nbsp;img,
int&nbsp;flag,
int&nbsp;x,
int&nbsp;y,
int&nbsp;width,
int&nbsp;height)</code>
<div class="block">When an animated gif frame is ready to be drawn the ImageObserver
will call this method.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#init()">init</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#isMinJREVersionAvailable()">isMinJREVersionAvailable</a></strong>()</code>
<div class="block">When this method is supplied with a JRE version it will compare it to the
current JRE version.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#isZipValid(java.io.File)">isZipValid</a></strong>(java.io.File&nbsp;file)</code>
<div class="block">This method will check if a zip file is valid by running through it
and checking for any corruption and CRC failures</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#loadJarURLs()">loadJarURLs</a></strong>()</code>
<div class="block">Reads list of jars to download and adds the urls to urlList
also finds out which OS you are on and adds appropriate native
jar to the urlList</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#paint(java.awt.Graphics)">paint</a></strong>(java.awt.Graphics&nbsp;g)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.util.HashMap&lt;java.lang.String,java.lang.Long&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#readHashMapFile(java.io.File)">readHashMapFile</a></strong>(java.io.File&nbsp;file)</code>
<div class="block">read the HashMap from File</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected java.lang.Object</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#readObjectFile(java.io.File)">readObjectFile</a></strong>(java.io.File&nbsp;file)</code>
<div class="block">read the object from the File</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#readStringFile(java.io.File)">readStringFile</a></strong>(java.io.File&nbsp;file)</code>
<div class="block">read String object from File</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#replaceLast(java.lang.String, java.lang.String, java.lang.String)">replaceLast</a></strong>(java.lang.String&nbsp;original,
java.lang.String&nbsp;target,
java.lang.String&nbsp;replacement)</code>
<div class="block">Replaces the last occurrence of the specified target substring with
the specified replacement string in a string.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#run()">run</a></strong>()</code>
<div class="block">9 steps
1) check jre version meets minimum requirements
2) check applet cache and decide which jars to download
3) download the jars
4) extract native files
5) validate jars for any corruption
6) save applet cache information
7) add jars to class path
8) set any lwjgl properties
9) switch to loaded applet</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#setLWJGLProperties()">setLWJGLProperties</a></strong>()</code>
<div class="block">Parses the java_arguments list and sets lwjgl specific
properties accordingly, before the launch.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#setState(int)">setState</a></strong>(int&nbsp;state)</code>
<div class="block">set the state of applet loader</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#sleep(long)">sleep</a></strong>(long&nbsp;ms)</code>
<div class="block">Utility method for sleeping</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#start()">start</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#stop()">stop</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#switchApplet()">switchApplet</a></strong>()</code>
<div class="block">replace the current applet with the lwjgl applet
using AppletStub and initialise and start it</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#trimExtensionByCapabilities(java.lang.String)">trimExtensionByCapabilities</a></strong>(java.lang.String&nbsp;file)</code>
<div class="block">Trims the passed file string based on the available capabilities</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#update(java.awt.Graphics)">update</a></strong>(java.awt.Graphics&nbsp;g)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#updateClassPath(java.lang.String)">updateClassPath</a></strong>(java.lang.String&nbsp;path)</code>
<div class="block">Edits the ClassPath at runtime to include the jars
that have just been downloaded and then adds the
lwjgl natives folder property.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#validateJars(java.lang.String)">validateJars</a></strong>(java.lang.String&nbsp;path)</code>
<div class="block">Check and validate jars which will be loaded into the classloader to make
sure that they are not corrupt.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/applet/AppletLoader.html#writeObjectFile(java.io.File, java.lang.Object)">writeObjectFile</a></strong>(java.io.File&nbsp;file,
java.lang.Object&nbsp;object)</code>
<div class="block">write object to specified File</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.applet.Applet">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.applet.Applet</h3>
<code>getAccessibleContext, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getLocale, getParameter, getParameterInfo, isActive, isValidateRoot, newAudioClip, play, play, resize, resize, setStub, showStatus</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.awt.Panel">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.awt.Panel</h3>
<code>addNotify</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.awt.Container">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.awt.Container</h3>
<code>add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusDownCycle, validate, validateTree</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.awt.Component">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.awt.Component</h3>
<code>action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, revalidate, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.applet.AppletStub">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;java.applet.AppletStub</h3>
<code>getAppletContext, getCodeBase, getDocumentBase, getParameter, isActive</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="STATE_INIT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>STATE_INIT</h4>
<pre>public static final&nbsp;int STATE_INIT</pre>
<div class="block">initializing</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.lwjgl.util.applet.AppletLoader.STATE_INIT">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="STATE_CHECK_JRE_VERSION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>STATE_CHECK_JRE_VERSION</h4>
<pre>public static final&nbsp;int STATE_CHECK_JRE_VERSION</pre>
<div class="block">checking version of jre</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.lwjgl.util.applet.AppletLoader.STATE_CHECK_JRE_VERSION">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="STATE_DETERMINING_PACKAGES">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>STATE_DETERMINING_PACKAGES</h4>
<pre>public static final&nbsp;int STATE_DETERMINING_PACKAGES</pre>
<div class="block">determining which packages that are required</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.lwjgl.util.applet.AppletLoader.STATE_DETERMINING_PACKAGES">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="STATE_CHECKING_CACHE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>STATE_CHECKING_CACHE</h4>
<pre>public static final&nbsp;int STATE_CHECKING_CACHE</pre>
<div class="block">checking for already downloaded files</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.lwjgl.util.applet.AppletLoader.STATE_CHECKING_CACHE">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="STATE_CHECKING_FOR_UPDATES">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>STATE_CHECKING_FOR_UPDATES</h4>
<pre>public static final&nbsp;int STATE_CHECKING_FOR_UPDATES</pre>
<div class="block">checking if any updates are available for cache files</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.lwjgl.util.applet.AppletLoader.STATE_CHECKING_FOR_UPDATES">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="STATE_DOWNLOADING">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>STATE_DOWNLOADING</h4>
<pre>public static final&nbsp;int STATE_DOWNLOADING</pre>
<div class="block">downloading packages</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.lwjgl.util.applet.AppletLoader.STATE_DOWNLOADING">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="STATE_EXTRACTING_PACKAGES">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>STATE_EXTRACTING_PACKAGES</h4>
<pre>public static final&nbsp;int STATE_EXTRACTING_PACKAGES</pre>
<div class="block">extracting packages</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.lwjgl.util.applet.AppletLoader.STATE_EXTRACTING_PACKAGES">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="STATE_VALIDATING_PACKAGES">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>STATE_VALIDATING_PACKAGES</h4>
<pre>public static final&nbsp;int STATE_VALIDATING_PACKAGES</pre>
<div class="block">validating packages</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.lwjgl.util.applet.AppletLoader.STATE_VALIDATING_PACKAGES">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="STATE_UPDATING_CLASSPATH">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>STATE_UPDATING_CLASSPATH</h4>
<pre>public static final&nbsp;int STATE_UPDATING_CLASSPATH</pre>
<div class="block">updating the classpath</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.lwjgl.util.applet.AppletLoader.STATE_UPDATING_CLASSPATH">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="STATE_SWITCHING_APPLET">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>STATE_SWITCHING_APPLET</h4>
<pre>public static final&nbsp;int STATE_SWITCHING_APPLET</pre>
<div class="block">switching to real applet</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.lwjgl.util.applet.AppletLoader.STATE_SWITCHING_APPLET">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="STATE_INITIALIZE_REAL_APPLET">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>STATE_INITIALIZE_REAL_APPLET</h4>
<pre>public static final&nbsp;int STATE_INITIALIZE_REAL_APPLET</pre>
<div class="block">initializing real applet</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.lwjgl.util.applet.AppletLoader.STATE_INITIALIZE_REAL_APPLET">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="STATE_START_REAL_APPLET">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>STATE_START_REAL_APPLET</h4>
<pre>public static final&nbsp;int STATE_START_REAL_APPLET</pre>
<div class="block">stating real applet</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.lwjgl.util.applet.AppletLoader.STATE_START_REAL_APPLET">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="STATE_DONE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>STATE_DONE</h4>
<pre>public static final&nbsp;int STATE_DONE</pre>
<div class="block">done</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.lwjgl.util.applet.AppletLoader.STATE_DONE">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="percentage">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>percentage</h4>
<pre>protected volatile&nbsp;int percentage</pre>
<div class="block">used to calculate length of progress bar</div>
</li>
</ul>
<a name="totalDownloadSize">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>totalDownloadSize</h4>
<pre>protected&nbsp;int totalDownloadSize</pre>
<div class="block">total size of download in bytes</div>
</li>
</ul>
<a name="currentSizeExtract">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>currentSizeExtract</h4>
<pre>protected&nbsp;int currentSizeExtract</pre>
<div class="block">current size of extracted in bytes</div>
</li>
</ul>
<a name="totalSizeExtract">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>totalSizeExtract</h4>
<pre>protected&nbsp;int totalSizeExtract</pre>
<div class="block">total size of extracted in bytes</div>
</li>
</ul>
<a name="logo">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>logo</h4>
<pre>protected&nbsp;java.awt.Image logo</pre>
<div class="block">logo to be shown while loading</div>
</li>
</ul>
<a name="logoBuffer">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>logoBuffer</h4>
<pre>protected&nbsp;java.awt.Image logoBuffer</pre>
<div class="block">logo to be shown while loading</div>
</li>
</ul>
<a name="progressbar">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>progressbar</h4>
<pre>protected&nbsp;java.awt.Image progressbar</pre>
<div class="block">progressbar to render while loading</div>
</li>
</ul>
<a name="progressbarBuffer">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>progressbarBuffer</h4>
<pre>protected&nbsp;java.awt.Image progressbarBuffer</pre>
<div class="block">progressbar to render while loading</div>
</li>
</ul>
<a name="offscreen">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>offscreen</h4>
<pre>protected&nbsp;java.awt.Image offscreen</pre>
<div class="block">offscreen image used</div>
</li>
</ul>
<a name="painting">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>painting</h4>
<pre>protected&nbsp;boolean painting</pre>
<div class="block">set to true while painting is done</div>
</li>
</ul>
<a name="bgColor">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>bgColor</h4>
<pre>protected&nbsp;java.awt.Color bgColor</pre>
<div class="block">background color of applet</div>
</li>
</ul>
<a name="fgColor">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fgColor</h4>
<pre>protected&nbsp;java.awt.Color fgColor</pre>
<div class="block">color to write foreground in</div>
</li>
</ul>
<a name="urlList">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>urlList</h4>
<pre>protected&nbsp;java.net.URL[] urlList</pre>
<div class="block">urls of the jars to download</div>
</li>
</ul>
<a name="classLoader">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>classLoader</h4>
<pre>protected&nbsp;java.lang.ClassLoader classLoader</pre>
<div class="block">classLoader used to add downloaded jars to the classpath</div>
</li>
</ul>
<a name="loaderThread">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>loaderThread</h4>
<pre>protected&nbsp;java.lang.Thread loaderThread</pre>
<div class="block">actual thread that does the loading</div>
</li>
</ul>
<a name="animationThread">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>animationThread</h4>
<pre>protected&nbsp;java.lang.Thread animationThread</pre>
<div class="block">animation thread that renders our load screen while loading</div>
</li>
</ul>
<a name="lwjglApplet">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lwjglApplet</h4>
<pre>protected&nbsp;java.applet.Applet lwjglApplet</pre>
<div class="block">applet to load after all downloads are complete</div>
</li>
</ul>
<a name="debugMode">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>debugMode</h4>
<pre>protected&nbsp;boolean debugMode</pre>
<div class="block">whether we're running in debug mode</div>
</li>
</ul>
<a name="prependHost">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>prependHost</h4>
<pre>protected&nbsp;boolean prependHost</pre>
<div class="block">whether to prepend host to cache path</div>
</li>
</ul>
<a name="filesLastModified">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>filesLastModified</h4>
<pre>protected&nbsp;java.util.HashMap&lt;java.lang.String,java.lang.Long&gt; filesLastModified</pre>
<div class="block">Used to store file names with lastModified time</div>
</li>
</ul>
<a name="fileSizes">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fileSizes</h4>
<pre>protected&nbsp;int[] fileSizes</pre>
<div class="block">Sizes of files to download</div>
</li>
</ul>
<a name="nativeJarCount">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nativeJarCount</h4>
<pre>protected&nbsp;int nativeJarCount</pre>
<div class="block">Number of native jars</div>
</li>
</ul>
<a name="cacheEnabled">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cacheEnabled</h4>
<pre>protected&nbsp;boolean cacheEnabled</pre>
<div class="block">whether to use caching system, only download files that have changed</div>
</li>
</ul>
<a name="subtaskMessage">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>subtaskMessage</h4>
<pre>protected&nbsp;java.lang.String subtaskMessage</pre>
<div class="block">String to display as a subtask</div>
</li>
</ul>
<a name="state">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>state</h4>
<pre>protected volatile&nbsp;int state</pre>
<div class="block">state of applet loader</div>
</li>
</ul>
<a name="lzmaSupported">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lzmaSupported</h4>
<pre>protected&nbsp;boolean lzmaSupported</pre>
<div class="block">whether lzma is supported</div>
</li>
</ul>
<a name="pack200Supported">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>pack200Supported</h4>
<pre>protected&nbsp;boolean pack200Supported</pre>
<div class="block">whether pack200 is supported</div>
</li>
</ul>
<a name="headless">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>headless</h4>
<pre>protected&nbsp;boolean headless</pre>
<div class="block">whether to run in headless mode</div>
</li>
</ul>
<a name="headlessWaiting">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>headlessWaiting</h4>
<pre>protected&nbsp;boolean headlessWaiting</pre>
<div class="block">whether to switch applets in headless mode or wait longer</div>
</li>
</ul>
<a name="headlessMessage">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>headlessMessage</h4>
<pre>protected&nbsp;java.lang.String[] headlessMessage</pre>
<div class="block">messages to be passed via liveconnect in headless mode</div>
</li>
</ul>
<a name="concurrentLookupThreads">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>concurrentLookupThreads</h4>
<pre>protected&nbsp;int concurrentLookupThreads</pre>
<div class="block">threads to use when fetching information of files to be downloaded</div>
</li>
</ul>
<a name="fatalError">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fatalError</h4>
<pre>protected&nbsp;boolean fatalError</pre>
<div class="block">whether a fatal error occurred</div>
</li>
</ul>
<a name="certificateRefused">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>certificateRefused</h4>
<pre>protected&nbsp;boolean certificateRefused</pre>
<div class="block">whether a certificate refused error occurred</div>
</li>
</ul>
<a name="minimumJreNotFound">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>minimumJreNotFound</h4>
<pre>protected&nbsp;boolean minimumJreNotFound</pre>
<div class="block">whether the minimum required JRE version is not found</div>
</li>
</ul>
<a name="genericErrorMessage">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>genericErrorMessage</h4>
<pre>protected&nbsp;java.lang.String[] genericErrorMessage</pre>
<div class="block">generic error message to display on error</div>
</li>
</ul>
<a name="certificateRefusedMessage">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>certificateRefusedMessage</h4>
<pre>protected&nbsp;java.lang.String[] certificateRefusedMessage</pre>
<div class="block">error message to display if user refuses to accept certificate</div>
</li>
</ul>
<a name="minimumJREMessage">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>minimumJREMessage</h4>
<pre>protected&nbsp;java.lang.String[] minimumJREMessage</pre>
<div class="block">error message to display if minimum JRE version is not met</div>
</li>
</ul>
<a name="errorMessage">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>errorMessage</h4>
<pre>protected&nbsp;java.lang.String[] errorMessage</pre>
<div class="block">fatal error message to display</div>
</li>
</ul>
<a name="natives_loaded">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>natives_loaded</h4>
<pre>protected static&nbsp;boolean natives_loaded</pre>
<div class="block">have natives been loaded by another instance of this applet</div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="AppletLoader()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>AppletLoader</h4>
<pre>public&nbsp;AppletLoader()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="init()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>init</h4>
<pre>public&nbsp;void&nbsp;init()</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code>init</code>&nbsp;in class&nbsp;<code>java.applet.Applet</code></dd>
</dl>
</li>
</ul>
<a name="start()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>start</h4>
<pre>public&nbsp;void&nbsp;start()</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code>start</code>&nbsp;in class&nbsp;<code>java.applet.Applet</code></dd>
</dl>
</li>
</ul>
<a name="stop()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stop</h4>
<pre>public&nbsp;void&nbsp;stop()</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code>stop</code>&nbsp;in class&nbsp;<code>java.applet.Applet</code></dd>
</dl>
</li>
</ul>
<a name="destroy()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>destroy</h4>
<pre>public&nbsp;void&nbsp;destroy()</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code>destroy</code>&nbsp;in class&nbsp;<code>java.applet.Applet</code></dd>
</dl>
</li>
</ul>
<a name="cleanUp()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cleanUp</h4>
<pre>protected&nbsp;void&nbsp;cleanUp()</pre>
<div class="block">Clean up resources</div>
</li>
</ul>
<a name="getApplet()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getApplet</h4>
<pre>public&nbsp;java.applet.Applet&nbsp;getApplet()</pre>
<div class="block">Retrieves the applet that has been loaded. Useful for liveconnect.</div>
</li>
</ul>
<a name="getStatus()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStatus</h4>
<pre>public&nbsp;int&nbsp;getStatus()</pre>
<div class="block">Retrieves the current status of the AppletLoader and is
used by liveconnect when running in headless mode.
This method will return the current progress of the AppletLoader
as a value from 0-100. In the case of a fatal error it will
return -1. If the certificate is refused it will return -2.
If the minimum jre requirement is not met will return -3.
When method returns 100 the AppletLoader will sleep until the
method is called again. When called again it will switch to the
LWJGL Applet. This is a useful trigger to start the LWJGL applet
when needed.</div>
</li>
</ul>
<a name="getMessages()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMessages</h4>
<pre>public&nbsp;java.lang.String[]&nbsp;getMessages()</pre>
<div class="block">Retrieves the current message for the current status.
Used by liveconnect when running in headless mode.</div>
</li>
</ul>
<a name="appletResize(int, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>appletResize</h4>
<pre>public&nbsp;void&nbsp;appletResize(int&nbsp;width,
int&nbsp;height)</pre>
<div class="block">Transfers the call of AppletResize from the stub to the lwjglApplet.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>appletResize</code>&nbsp;in interface&nbsp;<code>java.applet.AppletStub</code></dd>
</dl>
</li>
</ul>
<a name="update(java.awt.Graphics)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>update</h4>
<pre>public final&nbsp;void&nbsp;update(java.awt.Graphics&nbsp;g)</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code>update</code>&nbsp;in class&nbsp;<code>java.awt.Container</code></dd>
</dl>
</li>
</ul>
<a name="paint(java.awt.Graphics)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>paint</h4>
<pre>public&nbsp;void&nbsp;paint(java.awt.Graphics&nbsp;g)</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code>paint</code>&nbsp;in class&nbsp;<code>java.awt.Container</code></dd>
</dl>
</li>
</ul>
<a name="imageUpdate(java.awt.Image, int, int, int, int, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>imageUpdate</h4>
<pre>public&nbsp;boolean&nbsp;imageUpdate(java.awt.Image&nbsp;img,
int&nbsp;flag,
int&nbsp;x,
int&nbsp;y,
int&nbsp;width,
int&nbsp;height)</pre>
<div class="block">When an animated gif frame is ready to be drawn the ImageObserver
will call this method.
The Image frame is copied into a buffer, which is then drawn.
This is done to prevent image tearing on gif animations.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>imageUpdate</code>&nbsp;in interface&nbsp;<code>java.awt.image.ImageObserver</code></dd>
<dt><strong>Overrides:</strong></dt>
<dd><code>imageUpdate</code>&nbsp;in class&nbsp;<code>java.awt.Component</code></dd>
</dl>
</li>
</ul>
<a name="getDescriptionForState()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDescriptionForState</h4>
<pre>protected&nbsp;java.lang.String&nbsp;getDescriptionForState()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>string describing the state of the loader</dd></dl>
</li>
</ul>
<a name="trimExtensionByCapabilities(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>trimExtensionByCapabilities</h4>
<pre>protected&nbsp;java.lang.String&nbsp;trimExtensionByCapabilities(java.lang.String&nbsp;file)</pre>
<div class="block">Trims the passed file string based on the available capabilities</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>file</code> - string of files to be trimmed</dd>
<dt><span class="strong">Returns:</span></dt><dd>trimmed string based on capabilities of client</dd></dl>
</li>
</ul>
<a name="loadJarURLs()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>loadJarURLs</h4>
<pre>protected&nbsp;void&nbsp;loadJarURLs()
throws java.lang.Exception</pre>
<div class="block">Reads list of jars to download and adds the urls to urlList
also finds out which OS you are on and adds appropriate native
jar to the urlList</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd></dl>
</li>
</ul>
<a name="run()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>run</h4>
<pre>public&nbsp;void&nbsp;run()</pre>
<div class="block">9 steps
1) check jre version meets minimum requirements
2) check applet cache and decide which jars to download
3) download the jars
4) extract native files
5) validate jars for any corruption
6) save applet cache information
7) add jars to class path
8) set any lwjgl properties
9) switch to loaded applet</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>run</code>&nbsp;in interface&nbsp;<code>java.lang.Runnable</code></dd>
</dl>
</li>
</ul>
<a name="isMinJREVersionAvailable()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isMinJREVersionAvailable</h4>
<pre>public&nbsp;boolean&nbsp;isMinJREVersionAvailable()
throws java.lang.Exception</pre>
<div class="block">When this method is supplied with a JRE version it will compare it to the
current JRE version.
minimum requried JRE version is set using al_min_jre parameter, if not
this is not set then the value will default to version 1.5
The minimumVersion should follow a structure such as x.x.x_x
Example values would include 1.6.0_10 or a subset like 1.6.0 or 1.6</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>returns true if the available version is greater or equal to the
minimum version required</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code> - a NumberFormatException is thrown if the string is not valid</dd></dl>
</li>
</ul>
<a name="compareVersion(java.io.File, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>compareVersion</h4>
<pre>protected&nbsp;boolean&nbsp;compareVersion(java.io.File&nbsp;versionFile,
java.lang.String&nbsp;version)</pre>
<div class="block">This method will return true if the version stored in the file
matches the supplied String version.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>versionFile</code> - - location to file containing version information</dd><dd><code>version</code> - - String version that needs to be compared</dd>
<dt><span class="strong">Returns:</span></dt><dd>returns true if the version in file matches specified version</dd></dl>
</li>
</ul>
<a name="setLWJGLProperties()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLWJGLProperties</h4>
<pre>protected&nbsp;void&nbsp;setLWJGLProperties()</pre>
<div class="block">Parses the java_arguments list and sets lwjgl specific
properties accordingly, before the launch.</div>
</li>
</ul>
<a name="getCacheDirectory()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCacheDirectory</h4>
<pre>protected&nbsp;java.lang.String&nbsp;getCacheDirectory()
throws java.lang.Exception</pre>
<div class="block">This method will return the location of the cache directory. All the
applet files will be downloaded and stored here. A folder will be
created inside the LWJGL cache directory from the al_title parameter.
This folder will also be prepended by the host name of the codebase
to avoid conflict with same named applets on other hosts.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>path to applets cache directory</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code> - if access is denied</dd></dl>
</li>
</ul>
<a name="getLWJGLCacheDir()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLWJGLCacheDir</h4>
<pre>protected&nbsp;java.lang.String&nbsp;getLWJGLCacheDir()</pre>
<div class="block">Get path to the lwjgl cache directory. This location will be where
the OS keeps temporary files.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>path to the lwjgl cache directory</dd></dl>
</li>
</ul>
<a name="readStringFile(java.io.File)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readStringFile</h4>
<pre>protected&nbsp;java.lang.String&nbsp;readStringFile(java.io.File&nbsp;file)</pre>
<div class="block">read String object from File</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>file</code> - to be read</dd>
<dt><span class="strong">Returns:</span></dt><dd>the String stored in the file or null if it fails</dd></dl>
</li>
</ul>
<a name="readHashMapFile(java.io.File)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readHashMapFile</h4>
<pre>protected&nbsp;java.util.HashMap&lt;java.lang.String,java.lang.Long&gt;&nbsp;readHashMapFile(java.io.File&nbsp;file)</pre>
<div class="block">read the HashMap from File</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>file</code> - the file to read</dd>
<dt><span class="strong">Returns:</span></dt><dd>the hashmap stored in the file or an empty hashmap if it fails</dd></dl>
</li>
</ul>
<a name="readObjectFile(java.io.File)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readObjectFile</h4>
<pre>protected&nbsp;java.lang.Object&nbsp;readObjectFile(java.io.File&nbsp;file)
throws java.lang.Exception</pre>
<div class="block">read the object from the File</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>file</code> - the file to read</dd>
<dt><span class="strong">Returns:</span></dt><dd>the object contained in the file or null if it fails</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code> - if it fails to read object from file</dd></dl>
</li>
</ul>
<a name="writeObjectFile(java.io.File, java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeObjectFile</h4>
<pre>protected&nbsp;void&nbsp;writeObjectFile(java.io.File&nbsp;file,
java.lang.Object&nbsp;object)
throws java.lang.Exception</pre>
<div class="block">write object to specified File</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>file</code> - the file to write out to</dd><dd><code>object</code> - the contents of the file</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code> - if it fails to write file</dd></dl>
</li>
</ul>
<a name="updateClassPath(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateClassPath</h4>
<pre>protected&nbsp;void&nbsp;updateClassPath(java.lang.String&nbsp;path)
throws java.lang.Exception</pre>
<div class="block">Edits the ClassPath at runtime to include the jars
that have just been downloaded and then adds the
lwjgl natives folder property.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - location where applet is stored</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code> - if it fails to add classpath</dd></dl>
</li>
</ul>
<a name="switchApplet()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>switchApplet</h4>
<pre>protected&nbsp;void&nbsp;switchApplet()
throws java.lang.Exception</pre>
<div class="block">replace the current applet with the lwjgl applet
using AppletStub and initialise and start it</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd></dl>
</li>
</ul>
<a name="getJarInfo(java.io.File)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getJarInfo</h4>
<pre>protected&nbsp;void&nbsp;getJarInfo(java.io.File&nbsp;dir)
throws java.lang.Exception</pre>
<div class="block">This method will get the files sizes of the files to download.
It wil further get the lastModified time of files
and save it in a hashmap, if cache is enabled it will mark
those files that have not changed since last download to not
redownloaded.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dir</code> - - location to read cache file from</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code> - - if fails to get infomation</dd></dl>
</li>
</ul>
<a name="downloadJars(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>downloadJars</h4>
<pre>protected&nbsp;void&nbsp;downloadJars(java.lang.String&nbsp;path)
throws java.lang.Exception</pre>
<div class="block">Will download the jars from the server using the list of urls
in urlList, while at the same time updating progress bar</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - location of the directory to save to</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code> - if download fails</dd></dl>
</li>
</ul>
<a name="getJarInputStream(java.lang.String, java.net.URLConnection)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getJarInputStream</h4>
<pre>protected&nbsp;java.io.InputStream&nbsp;getJarInputStream(java.lang.String&nbsp;currentFile,
java.net.URLConnection&nbsp;urlconnection)
throws java.lang.Exception</pre>
<div class="block">Retrieves a jar files input stream. This method exists primarily to fix an Opera hang in getInputStream</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>urlconnection</code> - connection to get input stream from</dd>
<dt><span class="strong">Returns:</span></dt><dd>InputStream or null if not possible</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd></dl>
</li>
</ul>
<a name="extractLZMA(java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>extractLZMA</h4>
<pre>protected&nbsp;void&nbsp;extractLZMA(java.lang.String&nbsp;in,
java.lang.String&nbsp;out)
throws java.lang.Exception</pre>
<div class="block">Extract LZMA File</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>in</code> - Input path to pack file</dd><dd><code>out</code> - output path to resulting file</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code> - if any errors occur</dd></dl>
</li>
</ul>
<a name="extractGZip(java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>extractGZip</h4>
<pre>protected&nbsp;void&nbsp;extractGZip(java.lang.String&nbsp;in,
java.lang.String&nbsp;out)
throws java.lang.Exception</pre>
<div class="block">Extract GZip File</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>in</code> - Input path to pack file</dd><dd><code>out</code> - output path to resulting file</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code> - if any errors occur</dd></dl>
</li>
</ul>
<a name="extractPack(java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>extractPack</h4>
<pre>protected&nbsp;void&nbsp;extractPack(java.lang.String&nbsp;in,
java.lang.String&nbsp;out)
throws java.lang.Exception</pre>
<div class="block">Extract Pack File</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>in</code> - Input path to pack file</dd><dd><code>out</code> - output path to resulting file</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code> - if any errors occur</dd></dl>
</li>
</ul>
<a name="extractJars(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>extractJars</h4>
<pre>protected&nbsp;void&nbsp;extractJars(java.lang.String&nbsp;path)
throws java.lang.Exception</pre>
<div class="block">Extract all jars from any lzma/gz/pack files</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - output path</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code> - if any errors occur</dd></dl>
</li>
</ul>
<a name="extractNatives(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>extractNatives</h4>
<pre>protected&nbsp;void&nbsp;extractNatives(java.lang.String&nbsp;path)
throws java.lang.Exception</pre>
<div class="block">This method will extract all file from the native jar and extract them
to the subdirectory called "natives" in the local path, will also check
to see if the native jar files is signed properly</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - base folder containing all downloaded jars</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code> - if it fails to extract files</dd></dl>
</li>
</ul>
<a name="certificatesMatch(java.security.cert.Certificate[], java.security.cert.Certificate[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>certificatesMatch</h4>
<pre>protected static&nbsp;boolean&nbsp;certificatesMatch(java.security.cert.Certificate[]&nbsp;certs1,
java.security.cert.Certificate[]&nbsp;certs2)
throws java.lang.Exception</pre>
<div class="block">Compare two certificate chains to see if they match</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cert1</code> - first chain of certificates</dd><dd><code>cert2</code> - second chain of certificates</dd>
<dt><span class="strong">Returns:</span></dt><dd>true if the certificate chains are the same</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd></dl>
</li>
</ul>
<a name="getCurrentCertificates()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCurrentCertificates</h4>
<pre>protected static&nbsp;java.security.cert.Certificate[]&nbsp;getCurrentCertificates()
throws java.lang.Exception</pre>
<div class="block">Returns the current certificate chain of the AppletLoader</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>- certificate chain of AppletLoader</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd></dl>
</li>
</ul>
<a name="validateJars(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>validateJars</h4>
<pre>protected&nbsp;void&nbsp;validateJars(java.lang.String&nbsp;path)
throws java.lang.Exception</pre>
<div class="block">Check and validate jars which will be loaded into the classloader to make
sure that they are not corrupt. This ensures corrupt files are never marked
as successful downloadeds by the cache system.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - - where the jars are stored</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code> - if a corrupt jar is found</dd></dl>
</li>
</ul>
<a name="isZipValid(java.io.File)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isZipValid</h4>
<pre>protected&nbsp;boolean&nbsp;isZipValid(java.io.File&nbsp;file)</pre>
<div class="block">This method will check if a zip file is valid by running through it
and checking for any corruption and CRC failures</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>file</code> - - zip file to test</dd>
<dt><span class="strong">Returns:</span></dt><dd>boolean - runs false if the file is corrupt</dd></dl>
</li>
</ul>
<a name="getImage(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getImage</h4>
<pre>protected&nbsp;java.awt.Image&nbsp;getImage(java.lang.String&nbsp;s)</pre>
<div class="block">Get Image from path provided</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>s</code> - location of the image</dd>
<dt><span class="strong">Returns:</span></dt><dd>the Image file</dd></dl>
</li>
</ul>
<a name="getImage(java.net.URL)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getImage</h4>
<pre>public&nbsp;java.awt.Image&nbsp;getImage(java.net.URL&nbsp;url)</pre>
<div class="block">Get Image from path provided</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code>getImage</code>&nbsp;in class&nbsp;<code>java.applet.Applet</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>url</code> - location of the image</dd>
<dt><span class="strong">Returns:</span></dt><dd>the Image file</dd></dl>
</li>
</ul>
<a name="getJarName(java.net.URL)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getJarName</h4>
<pre>protected&nbsp;java.lang.String&nbsp;getJarName(java.net.URL&nbsp;url)</pre>
<div class="block">Get jar name from URL.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>url</code> - Get jar file name from this url</dd>
<dt><span class="strong">Returns:</span></dt><dd>file name as string</dd></dl>
</li>
</ul>
<a name="getFileName(java.net.URL)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFileName</h4>
<pre>protected&nbsp;java.lang.String&nbsp;getFileName(java.net.URL&nbsp;url)</pre>
<div class="block">Get file name portion of URL.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>url</code> - Get file name from this url</dd>
<dt><span class="strong">Returns:</span></dt><dd>file name as string</dd></dl>
</li>
</ul>
<a name="getColor(java.lang.String, java.awt.Color)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getColor</h4>
<pre>protected&nbsp;java.awt.Color&nbsp;getColor(java.lang.String&nbsp;param,
java.awt.Color&nbsp;defaultColor)</pre>
<div class="block">Retrieves the color</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>param</code> - Color to load</dd><dd><code>defaultColor</code> - Default color to use if no color to load</dd>
<dt><span class="strong">Returns:</span></dt><dd>Color to use</dd></dl>
</li>
</ul>
<a name="replaceLast(java.lang.String, java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>replaceLast</h4>
<pre>public&nbsp;java.lang.String&nbsp;replaceLast(java.lang.String&nbsp;original,
java.lang.String&nbsp;target,
java.lang.String&nbsp;replacement)</pre>
<div class="block">Replaces the last occurrence of the specified target substring with
the specified replacement string in a string.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>original</code> - - String to search</dd><dd><code>target</code> - - substring to find</dd><dd><code>replacement</code> - - what to replace target substring with</dd>
<dt><span class="strong">Returns:</span></dt><dd>- return the modified string, if target substring not found return original string</dd></dl>
</li>
</ul>
<a name="getStringParameter(java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStringParameter</h4>
<pre>protected&nbsp;java.lang.String&nbsp;getStringParameter(java.lang.String&nbsp;name,
java.lang.String&nbsp;defaultValue)</pre>
<div class="block">Retrieves the String value for the parameter</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - Name of parameter</dd><dd><code>defaultValue</code> - default value to return if no such parameter</dd>
<dt><span class="strong">Returns:</span></dt><dd>value of parameter or defaultValue</dd></dl>
</li>
</ul>
<a name="getBooleanParameter(java.lang.String, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBooleanParameter</h4>
<pre>protected&nbsp;boolean&nbsp;getBooleanParameter(java.lang.String&nbsp;name,
boolean&nbsp;defaultValue)</pre>
<div class="block">Retrieves the boolean value for the parameter</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - Name of parameter</dd><dd><code>defaultValue</code> - default value to return if no such parameter</dd>
<dt><span class="strong">Returns:</span></dt><dd>value of parameter or defaultValue</dd></dl>
</li>
</ul>
<a name="getIntParameter(java.lang.String, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIntParameter</h4>
<pre>protected&nbsp;int&nbsp;getIntParameter(java.lang.String&nbsp;name,
int&nbsp;defaultValue)</pre>
<div class="block">Retrieves the int value for the applet</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - Name of parameter</dd><dd><code>defaultValue</code> - default value to return if no such parameter</dd>
<dt><span class="strong">Returns:</span></dt><dd>value of parameter or defaultValue</dd></dl>
</li>
</ul>
<a name="fatalErrorOccured(java.lang.String, java.lang.Exception)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fatalErrorOccured</h4>
<pre>protected&nbsp;void&nbsp;fatalErrorOccured(java.lang.String&nbsp;error,
java.lang.Exception&nbsp;e)</pre>
<div class="block">Sets the error message and print debug information</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>error</code> - Error message to print</dd></dl>
</li>
</ul>
<a name="setState(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setState</h4>
<pre>protected&nbsp;void&nbsp;setState(int&nbsp;state)</pre>
<div class="block">set the state of applet loader</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>new</code> - state of applet loader</dd></dl>
</li>
</ul>
<a name="debug_sleep(long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>debug_sleep</h4>
<pre>protected&nbsp;void&nbsp;debug_sleep(long&nbsp;ms)</pre>
<div class="block">Utility method for sleeping
Will only really sleep if debug has been enabled</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>ms</code> - milliseconds to sleep</dd></dl>
</li>
</ul>
<a name="sleep(long)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>sleep</h4>
<pre>protected&nbsp;void&nbsp;sleep(long&nbsp;ms)</pre>
<div class="block">Utility method for sleeping</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>ms</code> - milliseconds to sleep</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/AppletLoader.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Class</li>
<li>Next Class</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/lwjgl/util/applet/AppletLoader.html" target="_top">Frames</a></li>
<li><a href="AppletLoader.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested_classes_inherited_from_class_java.applet.Applet">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><i>Copyright &#169; 2002-2009 lwjgl.org. All Rights Reserved.</i></small></p>
</body>
</html>