What is AppletGen?

AppletGen is a prototype of a simple Applet generator. It generates a skeleton Java applet according to user input. Its a Win3.1 App so it should run on all Sun supported platforms(Win95, WinNT and Solaris w/ wabi). It does work

Is it done?

No. It's my 'little experimental app'(i.e spaghetti code) that maybe ported over to Java in the near future. I am releasing what I have now to see if anybody can give me ideas on how to improve it.

Only a few things are really missing. The threading tab needs work(groups not supported yet). A few items on the attributes tab and the code generation of the callbacks needs to be improved.

What's new in AppletGen v0.8 and v0.85(Interim release)

AppletGen v0.85 was released Jan 6/96. The next release(0.9) should be within 2 weeks and should be the 'final beta' release. Note: The documenation on these pages are rather stale(old and outdated).

How does this compare to Symantec's Espresso?

It doesn't. Espresso, may generate the absolute 'bare-bones' applet, but it's a full fledged development environment. I use it, because its better than using an editor to write java code, a DOS shell to compile, another editor to write the HTML file, and a few more windows to manage all this..

Programmer's File Editor was recommended to me(and is on my system, its Freeware also). Any editor that allows you to call 'javac' is worth using, but Espresso is a development environment suitable for large Java projects. Don't buy it if you are doing small applets(i.e under a few hundred lines).

Copyrights and Trademarks

AppletGen is Freeware. Which means I will not restrict where it will be used, but I retain the copyright to the program and ask that you not sell the program for profit, just charge for the cost of distribution.

AppletGen has NO WARRANTY whatsoever. Use this piece of software at your own risk.

HotJava(tm), Java(tm) and Duke are the sole Trademarks of Sun Microsystems


Features

Let's go through the features and end up creating a small little applet called 'Sample'
Here is the ZIP file: Applet.zip
Here is the Documentation all tarred/gzip up: AppDoc.tar.gz

Applet Info Tab

[Applet Info Tab]

The following is added to the source code if you want AppletGen to generate documentation

Packages: Whatever is checked will be 'imported'. Importing packages only slows down compiling, but does not increase the size of the .class file(I think)

Other: Used to import your own packages or classes.

Applet Tag Tab

pApplet Tags Tab]

Applet Parameter grid: Generates the HTML file with the proper <PARAM> tags Warning Since Java treats all values as Strings, you will need to convert the String to an int, float, double, etc. manually. I will try to fix this soon.

Applet Attributes

The rest has not been implemented yet. An oversight before I release it. Do not worry it is fairly trivial and will included in version 0.9(next release).


[Next]
Nelson Yu
nelson@cs.ualberta.ca
Last modified: Jan 6 1996