Home -> Workshops -> ICTCM -> Creating Applets -> Improved Graphing Applet

Improved Simple Graph Applet

Here is basically the same applet, but somewhat improved. You can now enter the function and click on Okay to see the graph of that function.

The last thing missing to make this pretty usable is adding input fields for the coordinate system scale, and adding some cosmetic features, if necessary.

Source code of all modules involved:

SimpleGraph.java (simple version only)
SimpleGraph2.java
Parser.java
Graph.java
 

Bert G. Wachsmut
Last modified: 05/03/00