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.
The moose likes Other Java Products and Servers and the fly likes JFreeChart Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "JFreeChart" Watch "JFreeChart" New topic
Author

JFreeChart

Pendurthi prashanth
Greenhorn

Joined: Sep 13, 2005
Posts: 15
Hai there..

Recently I've required to give graphical stats of our companys production. I've found JFreeChart and downloaded it. I'm trying to show it in an applet. The compiling is out without error. But when I run it Its not able to find a class definition. How come this. Dos'nt the compiler check before compiling wether the class exists or not. I've even checked the jar file. Its there what should I do... Is there any policy included with JApplets..

>javac Gantt.java

>appletviewer Gantt.java
java.lang.NoClassDefFoundError: org/jfree/data/gantt/GanttCategoryDataset
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:1576)
at java.lang.Class.getConstructor0(Class.java:1748)
at java.lang.Class.newInstance0(Class.java:266)
at java.lang.Class.newInstance(Class.java:249)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:548)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:477)
at sun.applet.AppletPanel.run(AppletPanel.java:290)
at java.lang.Thread.run(Thread.java:536)


Thanks 4 every1 in advance

Presi
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
Its there

And where is that? How does the HTML page reference the jar file?
Pendurthi prashanth
Greenhorn

Joined: Sep 13, 2005
Posts: 15
>>And where is that? How does the HTML page reference the jar file?

Ahhh...

Thanks Ulf.. I did'nt specify the archive.

I'll try again...
 
Have you checked out Aspose?
 
subject: JFreeChart
 
It's not a secret anymore!