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
Getting errors when I try to run Memory Usage example
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Are you including the jcommon jar file on your classpath?
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

