Each dFontXX java classes provide methods for determining the barcode features supported and for setting barcode characteristics and retrieving the barcode strings.
All properties may be set using methods of the form
setProperty(parameter);
or, as commonly done in applets, by using the setParam() method with the appropriate property name as a parameter.
For example, the CodeType property may be set to 0 using
setCodeType(0);
or
setParam(“CODETYPE”,”0”);
Note: the setSerial() method must be used to pass the developer’s serial number to the class BEFORE any barcodes are generated. Without a correct serial number the class will generated randomly scrambled barcodes.
More: