I posted already today with a problem which, (as I already said) I suspect is trivial and annoying to experienced users. However I still am having problems and I have an important prototype deadline approaching and I would like to use JFreeGraph in the product.
Currently I believe the source of the problem is the JFreeChartInfo class and the following line
addLibrary(JCommon.INFO); //line #1481
my environment tells me that it cannot resolve the symbol method addLibrary() (org.jfree.ui.about.ProjectInfo)
I presume Java looks for addLibrary in JFreeChartInfo and doesn't find it, then looks for it in the superclass ProjectInfo where it doesn't find it either. And it s right (I think) becuse neither class contains a method of that name.
Any suggestions would be greatly appreciated.
addLibrary() in org.jfree.ui.about.ProjectInfo
I inquired about this same problem. The "fix" is listed in the JCommon forum.
http://www.jfree.org/phpBB2/viewtopic.php?t=9156
http://www.jfree.org/phpBB2/viewtopic.php?t=9156
Maybe I misunderstood your problem to begin with, but the previous post I suggested talks about jcommon/jfreechart version mixing. If the wrong version of jcommon is being used with jfreechart, this is an error you will find. I'd double check that your api(s) are compatible.
As for commenting the line out...a better solution may be to replace that section with (which is the older version stuff):
I could be completely wrong too, but I hope this may help. Good luck!
As for commenting the line out...a better solution may be to replace that section with (which is the older version stuff):
Code: Select all
setLibraries(Arrays.asList(
addLibrary(JCommon.INFO);
new Library[]{
new Library(JCommon.INFO)
}
));