Truly Platform Independent Java Applets

Author: Martin Lanter

Thanks to Matthias Schelker for proofreading the article.

Abstract: One of the most important reasons why developers chose Java to program an application is Java’s platform independence. A typical workflow consists of 1) writing your program, 2) packing it into an executable JAR file, and 3) execute it on any operating system as application and on any browser as Java applet. Even though this is not very complicated, there are a few details that must be precisely met and otherwise result in exceptions that are tedious to fix. In particular, if you want to include resources like images within your program. This guide explains how to get from your Eclipse project to the final applet deployment as JAR file with strict XHMTL code.

Truly Platform Independent Java Applets.pdf

Demonstation files and project for Eclipse: pinguscreen_project.zip