libjava.gsl

libjava.gsl is a library of functions for writing Java code. It is an example of how GSL functions can be used to perform reusable tasks. It was written as part of the GsharpWE Java example, and contains functions that you may find directly useful or as a basis for your own code development.

The functions java*() output java source code via the Gsharp function fwrite(). Calls to java*() functions can be freely mixed with calls to fwrite().

libjava contains the following functions:

function javaappletheaders(float i)

function javaawtheaders(float i)

function javastartappletclass(float i, string name)

function javastartclass(float i, string name)

function javaendclass(float i)

function javamethod(float i,string name, string method)

function javapaintmethod(float i,string method)

function javamousedragmethod(float i,string method)

function javaexportfloat(float i, string name, float dat)

function javaexportint(float i, string name, float dat)

function javainclude(float i, string includefile)

Examples of using libjava functions can be found in the section Writing Java Applets.