The UnifontJ Java class will behave as a Testware version (generating scrambled barcodes) unless correctly licensed.
Developer versions require the developer’s serial number to be passed to the component using the setSerial() method before any barcode-creating method is called. The Serial property should be set to the serial number provided for your product, e.g.
barcode.setSerial("12345");
More: