Image Forge

Mandelbrot Set, Julia Set, Fractal Planet Generator, Java Applet


This page is a Java applet container. Apologies to users of character mode browsers (I prefer Lynx :-) and those with Java disabled. You can get the source here if you like.

Please wait while the applet loads.

This is a JDK 1.1.n version of the applet. If your web browser is not new enough to support JDK 1.1.n you can try an older JDK 1.0.2 version here.

If your web browser is new enough to support Java 2 (JDK 1.2 or JDK 1.3, etc.), either internally or with a plugin, and the applet is not working, then check this note.



Java 2 Note

I've belatedly found that the applet might not work with the default security profile of newer Java installations. The problem is with a thread constructor with a thread group argument. That is not permitted by default, at least with the Sun JDK 1.3.1_02 for GNU/Linux that I tested with (specifically, the libjavaplugin_oji.so under Mozilla 0.9.9).

Barring additional problems that I did not have, you can make the applet work by adding



grant codeBase "http://www.ehynan.com/java_applet/fractal_applet/FractApplet/" {
  permission java.lang.RuntimePermission "modifyThreadGroup";
};


to the user or global policy file (and I expect the former is preferable to the latter). You will of course need to know which file to edit. The details can be found at http://java.sun.com/j2se/1.3/docs/guide/security/permissions.html, and the JDK (JRE too?) includes a tool to edit the user policy file (see link above).

By the way, you don't know me and it would be foolish to modify a security setting because I say it is necessary for this applet. Read the above link and use your judgment. I don't know why Sun has restricted thread group modifications by default. It was not so previously, but they might have found potential DOS attacks or the like, and made the change as a response. I say that there is no intentional mischief in the applet, but understand that I do not accept responsibility for any unexpected problem that might arise.


Comments welcome,
Ed Hynan <wadmin@example.com>

Rated Top 5% WebApplet by JARS







18291 hits!

Boycott those making unethical use of corrupt laws such as the U.S. DMCA

Boycott Adobe products!