Java Applets

By jkubackijkubacki


Easy way to include Java applets:

  • create Java applet (ex. ChaosGame.class) and upload it into your wiki page
  • create simple HTML page to display the applet, upload it into your wiki page but use html extension in file name, use for example xxx (ex.
  • embed the HTML page into your wiki page using [[iframe]] tag

* use specific naming convention for the URL of your html file:


Simple HTML page (chaos.html):

        <title>Chaos Game</title>
        <applet code="ChaosGame.class" height="128" width="128"></applet>

Code to be included in your wiki page:


In action


To remove the border and so on - see Wiki syntax.

Thanks to tsangk for this great snippet: conditional-blocks

text above inserted with:

[[include :snippets:if START |unique=1|type=equal|var1=%%name%%|var2=conditional-blocks]]
**##red|Thanks to tsangk for this great snippet:##** [[[code:conditional-blocks]]]
[[include :snippets:if END]]

Other snippets posted by jkubacki

Rate this solution

If you think this solution is useful — rate it up!

rating: +7+x
Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License