Curve Spotlet for Java KVM

Playing with the experimental Java KVM (for PalmOS), I ported the Curve applet to run as a KVM Spotlet. I've tested it on the POSE Palm emulator and on my Handspring Visor. You'll need Sun's KVM package to run it.

Instructions

Use the radio buttons at the bottom of the applet to select the curve-point mode. In add mode, clicking on the display will add a curve control point. In delete mode, when you click on a control point, it will be removed. In move mode, you can click and drag control points.

When there are enough control points (4 or more), they will be used to plot a curve of the selected type. Select the curve type from the radio buttons on the top of the applet. The clear button will remove all the control points. This applet is a port of a MS-Visual Basic application.



Here's the source.

If you're feeling crazy, and you're running Windows and have the Visual Basic 3.0 runtime DLL, download the original Visual Basic executable.

Other Curve Applets

Groove - Ben Fry has modified my code, and put a spin on the user interface. Check it out!

Applet History

(Nov. 1/95) Since I put this applet on the web, and (more importantly) registered it with the Gamelan Java resource list, the number of hits to my pages have increased dramatically. According to my stats, it appears that several of your browsers crash while trying to load my applet. Congratulations to those that succeeded!

(Nov. 6/95) I was just informed that my applet made it onto the list of Java demonstration applets at Netscape. Cool! That explains why the number of hits on my pages recently quadrupled.

(Nov. 7/95) Now that Netscape has released Beta 2, and prominently displayed their Java link on their Home-Page, the number of hits has gone off the scale (at least compared to my previous hits. I wonder if I'll be getting email from the administrator?

(Nov. 10/95) Since the new Netscape doesn't display drop-down lists properly on most platforms, I've changed the interface. I replaced the drop-down with a group of radio buttons. It should now work on all platforms. Except you poor Mac users.

(Nov. 14/95) Web stats page takes up a megabyte, and takes 30 minutes to generate on a Sparc 5.

(Jan. 17/96) Netscape has long ago taken down its very prominent display of Java applets, and network traffic on this applet has calmed back down to a reasonable level.

 (Jan. 17/96) Thanks to the Java Applet Rating Service (JARS) for pronouncing my applet worthy of their Top 25% badge.

 (Jun. 4/96) I just received word that this applet has been included on both the Black Coffee web site and CD-ROM mirror, and also on MindQ's Introduction to Java Programming CD-ROM. This applet also appears on the CD-ROM accompanying Teach Yourself Java in 21 Days, and Foundations of Java. There's also a link to this page in the online version of Official Netscape Navigator 2.0 Book, and a reference in the paper copy as well!

If you have comments on this or any of my other pages, please let me know.

Go back to my home page. (http://www.geocities.com/msheinrichs/curve.hml)

mike_heinrichs@hotmail.com