Signed Applet and JFreeChart 0.9.2 fails!

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Wolfgang Pausch

Signed Applet and JFreeChart 0.9.2 fails!

Post by Wolfgang Pausch » Tue Aug 27, 2002 12:03 pm

Hi there!

Maybe somebody already experienced the same problem:
According to
http://developer.java.sun.com/developer ... 75817.html
there is a bug in loading a JPEG-file from signed jar-files.

Hence JFreeChart is generating a file named "gorilla.jpg"
that bug is affected.

Is there anyone who could help me with that?
Would be very great!

Thanks so far and cu
Wolfgang

David Gilbert

Re: Signed Applet and JFreeChart 0.9.2 fails!

Post by David Gilbert » Tue Aug 27, 2002 5:56 pm

Hi Wolfgang,

I've just made a change to the JFreeChartInfo class to make sure the gorilla.jpg file is only loaded when it is really needed (at the moment it gets loaded when the class is constructed). That should fix your problem. The code will be in CVS very soon.

Regards,

DG.

Locked