MittProgram.html [Last ned]
<!DOCTYPE html> <html> <head> <title>Forstå programmering</title> <meta charset="UTF-8" /> <script src="http://java.com/js/dtjava.js"></script> <script> function runApplet() { dtjava.embed( { id: "MittProgram", url: "mittprogram.jnlp", width: 800, height: 800, placeholder: "applett" }, {}, {} ); } dtjava.addOnloadCallback(runApplet); </script> </head> <body> <h2>Testside for <b>MittProgram</b></h2> <div id="applett"></div> </body> </html>
Kildekode blir vist ved hjelp av GeSHi.