找不到符号:org.jfree.chart.LegendItem 中的 LegendItem()
我在我的 java 程序中使用以下行
LegendItem item1 = new LegendItem("US", "US", "US", "US", new Rectangle(10, 10), new GradientPaint(0.0f, 0.0f, new Color(16, 89, 172), 0.0f, 0.0f, new Color(201, 201, 244)));
and using "jfreechart-1.0.13.jar" file and getting this error
cannot find symbol symbol: constructor LegendItem(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.awt.Rectangle,java.awt.GradientPaint) location: class org.jfree.chart.LegendItem
but in the jar file in class org.jfree.chart.LegendItem.class i have seen the constructor with the parameters i am using.
i am using net beans6.9.1 ide . i am not able to find the reason for this.
if any one can help me please
Thanks
Yugal
i using the following line in my java program
LegendItem item1 = new LegendItem("US", "US", "US", "US", new Rectangle(10, 10), new GradientPaint(0.0f, 0.0f, new Color(16, 89, 172), 0.0f, 0.0f, new Color(201, 201, 244)));
and using "jfreechart-1.0.13.jar" file and getting this error
cannot find symbol symbol: constructor LegendItem(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.awt.Rectangle,java.awt.GradientPaint) location: class org.jfree.chart.LegendItem
but in the jar file in class org.jfree.chart.LegendItem.class i have seen the constructor with the parameters i am using.
i am using net beans6.9.1 ide . i am not able to find the reason for this.
if any one can help me please
Thanks
Yugal
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
编译&执行良好,使用
jfreechart-1.0。 3.jar
在类路径中Compiles & Executes fine , with
jfreechart-1.0.3.jar
in classpath