• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JFreeChart

 
Pendurthi prashanth
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Its there

And where is that? How does the HTML page reference the jar file?
 
Pendurthi prashanth
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
>>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...
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic