org.jfree.demo.DrawStringDemo

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
juhi
Posts: 15
Joined: Wed Jul 14, 2004 7:19 pm

org.jfree.demo.DrawStringDemo

Post by juhi » Mon Aug 09, 2004 9:06 pm

hi,

I have purchased the documentation for JFreeChart. In that it mentions about this demo DrawStringDemo being part of the JCommon distribution. But I couldn't find the "demo" folder anywhere in the jcommon distribution? Can anyone please tell me where to find it? I really need desperately!

thanks,
Juhi

Mimil
JFreeReport Staff Member
Posts: 69
Joined: Tue Mar 25, 2003 7:33 pm

Post by Mimil » Mon Aug 09, 2004 10:59 pm

Hi,

I don't think there is any demo in JCommon, it is only a common library with helpfull utils,... and whared with JFreeReport.
I think there is a special distribution of JFreeChart for developpers who bought support.
I am sorry, I am not really aware about it, but I think it should be write somewhere on the developper guide.
A student of JFree & Pentaho Academies

Bye,
Cedric Pronzato

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Re: org.jfree.demo.DrawStringDemo

Post by david.gilbert » Mon Aug 09, 2004 11:04 pm

juhi wrote:I have purchased the documentation for JFreeChart. In that it mentions about this demo DrawStringDemo being part of the JCommon distribution. But I couldn't find the "demo" folder anywhere in the jcommon distribution? Can anyone please tell me where to find it? I really need desperately!
It looks like the demo isn't included with JCommon, but it should be. Here is the source:

http://cvs.sourceforge.net/viewcvs.py/j ... free/demo/
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Mimil
JFreeReport Staff Member
Posts: 69
Joined: Tue Mar 25, 2003 7:33 pm

Post by Mimil » Mon Aug 09, 2004 11:07 pm

Oopss, sorry I said something wrong :oops:

But now I am aware of it.
A student of JFree & Pentaho Academies

Bye,
Cedric Pronzato

juhi
Posts: 15
Joined: Wed Jul 14, 2004 7:19 pm

Code error in DrawStringPanel.java (JCommon demo section)

Post by juhi » Tue Aug 10, 2004 8:45 pm

Hi David,

thanks for the source code1 I was able to see it. There is an error (maybe typo) in DrawStringPanel.java (line 180).

existing code (wrong)-
TextUtilities.drawAlignedString(...)

correct code-
RefineryUtilities.drawAlignedString(...)

I wasn't sure where to report this, so decided to mention it here incase someone else gets stuck - because it does not compile otherwise!

-Juhi.

Locked