Compiler 1.5 compliance problems

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
donfraggle

Compiler 1.5 compliance problems

Post by donfraggle » Thu Sep 22, 2005 8:45 am

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.

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Thu Sep 22, 2005 8:49 am

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

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

kianfatt1982
Posts: 21
Joined: Fri Sep 30, 2005 4:00 am
Location: Malaysia
Contact:

I have the similar problem

Post by kianfatt1982 » Wed Dec 14, 2005 9:26 am

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.
Ting Kian Fatt
(Software Engineer)
kianfatt1982@gmail.com

kianfatt1982
Posts: 21
Joined: Fri Sep 30, 2005 4:00 am
Location: Malaysia
Contact:

I have had new solutions to my problem

Post by kianfatt1982 » Fri Dec 16, 2005 3:07 am

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
Ting Kian Fatt
(Software Engineer)
kianfatt1982@gmail.com

Locked