We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Using Aspose.BarCode for Java v5.0 on jdk1.4/1.5 to generate BarCode Image does not work

Hi everybody,

I have found a problem with the following methods in BarcodeBuilder class:

//Instantiate barcode object
BarCodeBuilder bb = new BarCodeBuilder();//Instantiate barcode object

// public d generateBarCodeImage() !?!?

Image image = bb.generateBarCodeImage(); // can't work !!!!

//Set up code text color

setCodeTextColor(com.aspose.msbarcode.System.d.j) in com.aspose.barcode.BarCodeBuilder cannot be applied to (java.awt.Color)setCodeTextColor(com.aspose.msbarcode.System.d.j) in com.aspose.barcode.BarCodeBuilder cannot be applied to (java.awt.Color)

Same problem with the class method:setCodeTextFont();

This problem occured with the library aspose-barcode-5.0.0-jdk14 and maybe 1.5 too !!!

Can you help me please or solve this issue?

Thanks for your help.


Hi James,

Thank you for your inquiry. I have tested these methods against the latest build of Aspose.BarCode for Java v5.0.0 with library aspose-barcode-5.0.0-jdk15. I regretfully inform you that I was unable to use them. This problem has been logged in our bug tracking system under ticket Id BARCODJAVA-33283. We will soon investigate the cause. Also, you will be notified once the fix for your problem is available for public use. Please accept our apologies for your inconvenience.