Documents and Examples

Java API Documentation

The Java API Documentation is part of the JStatCom distribution and can be found in the doc folder. You can also browse it online.




Here some examples for modules created with JStatCom are available for download. They can be used as follows:

  • all examples are zipped Eclipse projects that just need to be unpacked.
  • all examples can be started with the app script
  • the source code documentation should be checked for detailled implementation information

Example Reference Comments
Gauss example 1.1 Gauss example
(but code is different)
requires installed Gauss or GRTE, runs only under Windows
MSVAR example Ox example requires installed Ox, the MSVAR package and the gnudraw package with gnuplot, could also be run with the Linux version, a test dataset GNP82.dat is included

Using JStatCom

The following steps are typical for developing a GUI application using JStatCom:

  1. download and unpack JStatCom
  2. set up a Java project with your favourite IDE, put jstatcom.jar and all jar archives from the jars subdirectory in the classpath that is used by your development tool
  3. create your top level component by subclassing ModelFrame, choose an appropriate name and title, and compile it (typically done automatically by IDE)
  4. put the fully qualified classname of your frame in the file modules.xml, for example add the line: <Module class="msvar.MSVARFrame"/>
  5. start your application with the batch file app.bat, maybe you need to add the classpath of your newly created classes before
  6. now go back to your development tool and implement all panels, use subclasses of ModelPanel if you need access to shared data
  7. implement calls to the external modules implementing the math algorithms
  8. repeat 5, 6, 7 until all features are implemented, create a deployable version (for example, just zip the project directory)