|
December 13, the Public Beta of the JWAVE Java Graphic Components was released. You may download the library for free. All we ask is that you agree to our license agreement and provide us with contact information so that we can gather feedback about our work.
The object design used to create these components allows new plot types to be easily created by the end user. To create new components you simply subclass the WaveGraph base class and provide the plot type and which standard PV-WAVE keyword parameters are to be used for this plot type, and support for passing any plot attributes unique to this plot type. Also required is a PV-WAVE procedure which actually creates the plot on the server. No communication programming is required to create new plots, as that code has been encapsulated at both the client and server ends.
The advantages of using PV-WAVE as a graphic server include the ability to rapidly design custom graphics in the PV-WAVE 4GL language, which includes support for many types of graphics from simple 2D/3D charts and graphs to volumetric visualizations, animations, and maps. See the PV-WAVE home page for more information on its broad graphic and numeric capabilities. PV-WAVE offers proven and robust graphics capabilities which can be integrated into java applications and deployed today.
The following plot types are currently available:
| WavePlot | Creates 2D X/Y plots |
| WaveHistogram | Creates histogram plots |
| WaveContour | Creates line and filled contour plots |
| WaveSurface | Creates wireframe surfaces |
| WaveShade_Surf | Creates shaded surfaces |
| WaveSurfAnim | Creates animated surface plots |
| WaveVRMLSurface | Creates VRML worlds with wireframe or shaded surface representations of data |
| WavePie | Creates pie charts |
| WaveBar3D | Creates 3D bar charts |
You may, if you wish, download the source code for these examples and run them as java applications, for example by typing "java plot" for the plot.class example. The code for these examples is designed to run as either an applet or an application, and in the case of an application will let you select an ASCII file to use as input data. The java code was only written to read files with either one data value per line, or comma separated data. (You could modify the java code to read other data if you wish). You must have Sun's Java JDK or a java development tool installed, as well as the Netscape Barium release of the IFC installed in order to run these examples locally. Feel free to experiment with these examples and use our PV-WAVE graphic server to create plots. The Sun Ultra machine graciously provided by Sun Microsystems provides exceptional performance as both a web and graphic server machine.
A complete distribution of all the components, example source code, and code for the PV-WAVE based server is available as a zip file which includes documentation for installing and configuring the PV-WAVE server on your web server machine. Also included are instructions for running these examples on a standalone machine which has PV-WAVE installed and which uses a simple file transfer mechanism to communicate between java and PV-WAVE.