I am working on a Java Swing project. For one of the screens, I need jfreechart to draw a chart. But when I dragged and dropped "BarRenderer" to a frame, there is an error occurred.
The following is the message:
[
Cannot load component class org.jfree.chart.block.BlockBorder from Jar file:
"c:\...." (location of jfreechart-1.0.0.jar)
The class must be compiled and must be on the classpath of the project this form belongs to.
]
Does anyone know what's wrong with that? I appreciate it.
Thank you.