Getting errors when I try to run Memory Usage example

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
mguerra
Posts: 4
Joined: Wed Oct 08, 2003 9:05 pm

Getting errors when I try to run Memory Usage example

Post by mguerra » Wed Dec 10, 2003 7:49 pm

I am running the Memory Usage example but i get the following errors:

"MemoryUsage.java": cannot access org.jfree.ui.Drawable,org.jfree.ui.Drawable

it comes from the following line
JFreeChart chart = new JFreeChart(
"Memory Usage",
JFreeChart.DEFAULT_TITLE_FONT,
xyplot,
true
);
ChartPanel chartPanel = new ChartPanel(chart);
add(chartPanel);


What am i doing wrong, and how exactly am i supposed to run this example

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

Post by david.gilbert » Wed Dec 10, 2003 11:46 pm

Are you including the jcommon jar file on your classpath?
David Gilbert
JFreeChart Project Leader

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

Locked