This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
It looks like the JFreeChart library is missing from your applet classpath. What does the applet tag look like, and where do you keep the applet and JFreeChart classes?
Joined: Feb 27, 2006
Originally posted by Ulf Dittmer: It looks like the JFreeChart library is missing from your applet classpath. What does the applet tag look like, and where do you keep the applet and JFreeChart classes?
Hello Ulf, Thanks for reply. My structure is like this: Source_Code : contains all the JSP & HTML pages Source_Code/applet : applet java & class file JfreeChart: c:/JfreeChart/lib/*.jar files
I have included the path of Jfreechart's jar file in the classpath environmental variable.
If I extending the myclass from ApplicationFrame the program is running absolutely fine. But if I am extending the class using JApplet I am getting the error which I have already mentioned.
can u please suggest me what setting has to be done to get these classes avaible for applet?
Joined: Mar 22, 2005
The normal classpath is not used for applets - you need to include all jar files in the "archive" attribute of the applet. You can find etails about that here.