Applet development

The sample applet included with the distribution is very “bare bones”, and the source code is provided simply as a starting point for developers who wish to make a more advanced applet. Examination of the source code of uniappJ.java in the build directory will illustrate how easy this is. The init() function is the ideal place to set default barcode parameters.

A developer-created applet.class together with the dBarcodeXX.class may be formed into a jar archive for easy deployment using a command of the form

Jar cfm myapplet.jar  myapplet.class com.dlsoft. UnifontJ. UnifontJ.class

Note that in this case the UnifontJ.class needs to be in the com .. etc directory structure (as in the build directory).

 

More:

Setting and retrieving property values