|This is an incomplete work in progress, started Oct., 2012
|Java App skeleton
|Rather than starting from scrtch, you can use this code to jumpstart your own java application
|Dumb little window to alert the user to something, but go away after they click ok.
|Fancier version of above. For when you need to prompt the user to make a choice Right Now.
|A java front end to Crossfire, the multi-user game (very old now, out of date!)
|A java program to help study Japanese Kanji
|A java program to convert charset encodings (eg: UTF->EUC)
|An .xpm format reader for java
|java class for loading user preferences in an application. Docs here
|A free table-like class, to list data in rows (click to see applet, and source code) AWT based. Allows user to resize column widths.
|A free substitute for java.awt.ScrollPane
|Better yet, an AWT table class! (rather bare bones, binary only)
|A trivial "About" box that can also be used to pop up any text file
|A trivial "send SMTP" prog that uses java's "Mailto" URL handling to send email. Works with any JVM since java 1.0, I think.
|A work-in-progress to give a very flexible layout widget. Allows you relative positioning to two other objects, for independant up/down, and x/y control. Does for FlowLayout what GridBagLayout does for GridLayout: Surpasses it in the extreme. Click through for the flexilayout home page.
|A GUI utility to let you or a user add rows by hand to a table in a local database. Currently geared for use with MySQL, but should be easy to modify for use with Sybase, Oracle, etc.
|A small java prog that takes a HTML page as STDIN, and spits out a simple table of contents, using OL tags.
Okay, this is NOT JAVA! But I needed somewhere to link this from, so here
There are a LOT of resources there. It isn't always obvious, but if you dig deep enough in there, you can usually find the "best" way to do most things with java. But not AWT. AWT rocks, but is unappreciated. Note that the class tree for it, can be found hiding in places like http://docs.oracle.com/javase/1.4.2/docs/api/java/awt/package-tree.html
To learn the basics of the java language, use the " Learning the Java Language" subpage.
Unfortunately, the book is kind of wordy.
If you are taking advantage of a new java class in later runtimes, that simply is not present in older runtimes, you can choose to enable o disable features depending on whether the new class is accessible. The following code shows how to do this.
Download and compile parent.java and aux.java, two simple classes. Run 'parent' to see it use the 'aux' class. Then remove the 'aux.class' compiled class, and run 'parent' again. It will run differently, because it detects that the aux class is not available.
First, you have to GET a java runtime!
As of 2013, the best way for developers seems to be to go to http://www.oracle.com/java
For details, see my Unicode setup pages, then come back here to finish up.
If you have a newer java 1.2-based runtime, you should be able to run most, if not all, of my programs "directly". That is to say, with a single click in a GUI environment. Some platforms require a little more setup than others, but once you are done, you should be able to run the ".jar" file just like it was any other program.
Read the java 1.2 details on how to set up one-click operation.
If you have any suggestions, comments, or "hey, it works on platform xyz,
cool", drop me a line!