missing * in StandardLegend.java

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

missing * in StandardLegend.java

Post by YaoYue » Mon Mar 11, 2002 9:50 am

Hi David,
It misses a * at the begining of the line 406 in com.jrefinery.chart.StandardLegend.java,although it can be seen in some editor like ultraedit.And it will interrupt compile or javadoc.
The flaw is in version 0.7.x.
Regards,

David Gilbert

Re: missing * in StandardLegend.java

Post by David Gilbert » Mon Mar 11, 2002 10:17 am

I'm not sure I understand the problem. Have you got any other info?

Regards,

DG.

YaoYue

Re: missing * in StandardLegend.java

Post by YaoYue » Mon Mar 11, 2002 10:37 am

If you try to javac or javadoc the sourcecode in jdk(all language),you will find the problem what i said.
Below is what i see in the Standardlegend.java in jb6.
/**
* Returns a rectangle surrounding a individual entry in the legend.
* <P>
* The marker box for each entry will be positioned next to the name of the specified series
* within the legend area. The marker box will be square and 70% of the height of current
* font.
* @param graphics The graphics context (supplies font metrics etc.).
* @param label The series name.
* @param x The upper left x coordinate for the bounding box.
* @param y The upper left y coordinate for the bounding box.
@return A LegendItem encapsulating all necessary info for drawing.
*/

David Gilbert

Re: missing * in StandardLegend.java

Post by David Gilbert » Mon Mar 11, 2002 10:49 am

OK, I see the problem. There are some strange control characters in the source code which the editor in JBuilder manages to hide...but if I use emacs then I can see them. Not sure how they got there, but I'll fix it for the next release.

Thanks for the report,

Dave Gilbert.

Locked