I am working with jcommon-0.9.5.jar and jfreechart-0.9.20.jar. The problem also occurs when using new version jfreechart-1.0.0-rc1.jar and jcommon-1.0.0-rc1.jar.
If I use the jre 1.4.* compiler to generate class files, all works fine.
But if I use the jre 1.5.0_2 compiler, then my application frozen after trying to update a piechart with new data. After a few minutes the piechart appears, but all other components of the gui will not be repainted. Also my application did not recognize events coming from the mouse any longer.
Setting new piechart dataset is realised within a separate thread:
SwingUtilities.invokeLater(new Runnable() {
....
((PiePlot3D) getPieChart().getPlot()).setDataset(JFreeChartFactory.createPieDataset(data));
....
}
No exceptions occurs!
Has anybody the same problem? Thank you for your support.
Compiler 1.5 compliance problems
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
I'm a little confused. Are you recompiling JFreeChart using JDK 1.5? Or are you just running it with JRE 1.5? Or is it both? In any case, it will be hard for me to investigate the problem unless you can post a small demo app that reproduces the problem.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


-
- Posts: 21
- Joined: Fri Sep 30, 2005 4:00 am
- Location: Malaysia
- Contact:
I have the similar problem
I have the similar problem and I have posted it in:-
http://www.jfree.org/phpBB2/viewtopic.php?p=44400#44400
http://www.jfree.org/phpBB2/viewtopic.php?p=44401#44401
http://www.jfree.org/phpBB2/viewtopic.php?p=44402#44402
But my problem is I compile fine in J2SDK 1.4, and the application run fine in JRE 1.4, but when I move the compiled files of 1.4 and to run in a server with a JRE 1.3 environment then the Error and exception happens.
http://www.jfree.org/phpBB2/viewtopic.php?p=44400#44400
http://www.jfree.org/phpBB2/viewtopic.php?p=44401#44401
http://www.jfree.org/phpBB2/viewtopic.php?p=44402#44402
But my problem is I compile fine in J2SDK 1.4, and the application run fine in JRE 1.4, but when I move the compiled files of 1.4 and to run in a server with a JRE 1.3 environment then the Error and exception happens.
-
- Posts: 21
- Joined: Fri Sep 30, 2005 4:00 am
- Location: Malaysia
- Contact:
I have had new solutions to my problem
Thanks Gilbert for your advise and recomendation, I did what you said but still the application isnt working, the details of my attepts are posted here :-
http://www.jfree.org/phpBB2/viewtopic.p ... &&start=15
http://www.jfree.org/phpBB2/viewtopic.p ... &&start=15