hi,
i am beginner of JFreeChart and jb.
i have loaded the two .jar files into jb5's running envionment and import a simple package of JFreeChart.
(
import com.jrefinery.chart.*;
import com.jrefinery.data.*;
)
when i compile this file ,jb print message:
"Frame1.java": Error #: 704 : cannot access directory com\jrefinery\chart at line 3, column 1
"Frame1.java": Error #: 704 : cannot access directory com\jrefinery\data at line 4, column 1
why?
thanks
widcater
JFreeChart & (Jb5 + jdk1.4)
Re: JFreeChart & (Jb5 + jdk1.4)
Load up your JBuilder project, select Project --> Project Properties from the menu. Click on the "Paths" tab, then the "Required Libraries" tab, and define libraries for JCommon and JFreeChart here. After that, your imports should work just fine.
Regards,
DG.
Regards,
DG.
Re: JFreeChart & (Jb5 + jdk1.4)
Hi,
just wonder if you made it works as I try before and didnt work. I also try to
import jfreechart.*;
// this is to import the jfreechart.jar file i inlcude in my project
and add the jfreechart.jar in the required libraries in Project Properties.
if your works can you kindly tell me the way to make it works thx
just wonder if you made it works as I try before and didnt work. I also try to
import jfreechart.*;
// this is to import the jfreechart.jar file i inlcude in my project
and add the jfreechart.jar in the required libraries in Project Properties.
if your works can you kindly tell me the way to make it works thx
Re: JFreeChart & (Jb5 + jdk1.4)
Hi,
Its working fine for me as David says...
Tools --> Configure Libraries
Create New Library with name "ChartLibrary"
Add jfreechart.jar and jcommon.jar to ChartLibrary
Then open ur project --> Project Properties --> Required LIbraries --> add "ChartLibrary"
reji
Its working fine for me as David says...
Tools --> Configure Libraries
Create New Library with name "ChartLibrary"
Add jfreechart.jar and jcommon.jar to ChartLibrary
Then open ur project --> Project Properties --> Required LIbraries --> add "ChartLibrary"
reji