Deploying with the LWJGL Applet Loader - Introduction

Introduction

Basics - Part 1

Customisation - Part 2

Compression - Part 3

Polish and Tweaks - Part 4

What is the Applet Loader?

The AppletLoader is a small deployment system for deploying LWJGL in the browser. It runs on the java applet plugin but handles the whole process for you including deploying the native files which LWJGL requires to function.

How does it work?

The AppletLoader is a small signed applet that quickly downloads and starts up. It then downloads your application jars for you, adds them to the classpath, adds the native files to the JVM so that LWJGL can use them and then transparently passes control over to your LWJGL Applet before deactivating itself. It does all this while at the same time displaying a nice logo and progress bar (animated and customisable if needed).

How do I use it?

This tutorial will hopefully cover everything you need to know about using the AppletLoader effectively. Part 1 covers the basics to get everything working. Part 2 will focus on customising the look of the AppletLoader and various tricks to better integrate LWJGL Applets into a web page. Part 3 will cover how to better shrink your LWJGL Applet and covers the built in support for Pack200 and LZMA Compression. Finally part 4 will cover the optional parts of the AppletLoader and various tricks to improve the user experience.

Note this tutorial is for LWJGL 2.8 or greater

Introduction

Basics - Part 1

Customisation - Part 2

Compression - Part 3

Polish and Tweaks - Part 4

Tutorial Credit - Ninja Cave