I do Java applet programming. All of the projects I've done until recently have been to the JDK 1.0.2 spec so they will work in Netscape 4 on the Mac and Netscape 3 on all platforms. For my next project, I'll finally be moving up to JDK 1.1.x (not 1.2 or 1.3 since these are not supported by any major browser on all platforms).
Here are some helpful code snippets. Unless noted otherwise all snippets here will work in Netscape 3+ and IE 4+ on Windows and the Mac (and probably other platforms)
- Code to rotate text (using an off-screen Image) Does not work on Netscape 4 for the Mac
- VerticalFlowLayout for JDK 1.0.2 (or higher). Works like FlowLayout but vertically instead of horizontally. (Not documented well at all)
- VerticalFlowLayout for JDK 1.1 (or higher). Works like FlowLayout but vertically instead of horizontally. (Not documented well at all)
Useful links: