A few important notes when compiling Hotpad:
- If you are using the JDK 1.1, you will have to comment out a section
of HotpadSecurityManager.java. The section is:
public void checkPermission (java.security.Permission perm) {}
public void checkPermission (java.security.Permission perm, Object context) {}
This is required for Hotpad to work with the JDK 1.2 and above, but due to changes
in the security model between 1.1 and 1.2, the java.security.Permission class does
not exist in the JDK 1.1. Beware, though, if you want to use Lightning compile with
the JDK 1.2, you must make sure those lines are not commented.
- Compiling with both the JDK 1.1 and 1.2+ will give you deprecation warnings. One
of these is because of the implementation for reassigning standard out and the deprecation
of the PrintStream class (JDK 1.1 only). Another warning is due to the changes made to the Toolkit class
and the redesign of many of the font metrics classes (JDK 1.2+). The other warning is due to the use
of Thread.stop(), which is inherently unsafe, but must be used to Stop a running project.
- The only change between Hotpad 0.606 and 0.607 was to solve compiling problems
with the JDK 1.3, so they function exactly the same.
- The code isn't commented very well, and I do apolegize for this, but I really haven't
had time to go through and add descriptive comments.
Also note that the Hotpad source is released under the GNU General Public License. A copy
of this license is included with both Hotpad distributions.
Aside from that, Hotpad should compile fine with all versions of the JDK, though I haven't had
a chance to test with the JDK 1.3 yet. Now that you've read all that:
Get the source for Hotpad 0.607 (128 KB)