Long time to load pie chart on Linux

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
efratb
Posts: 7
Joined: Wed Mar 22, 2006 7:11 pm

Long time to load pie chart on Linux

Post by efratb » Mon Jul 17, 2006 1:32 pm

Hi,

I am using JFreeChart to create a pie chart panel (as shown in the examples).
On windows everything is loaded OK, but on Linux it takes a long time (about 10 seconds) to load the chart.
When I use SwingUtilities.invokeLater to invoke the chart creation, it improves the performance, but still takes a couple of seconds.

Any idea why it behaves differently on Linux and how to solve it?

Thanks,
Efrat

pmarsollier
Posts: 49
Joined: Thu Jul 08, 2004 8:54 am
Location: France

Post by pmarsollier » Tue Jul 18, 2006 8:20 am

tried headless ??

efratb
Posts: 7
Joined: Wed Mar 22, 2006 7:11 pm

Post by efratb » Tue Jul 18, 2006 8:35 am

What do you mean headless?..

pmarsollier
Posts: 49
Joined: Thu Jul 08, 2004 8:54 am
Location: France

Post by pmarsollier » Tue Jul 18, 2006 8:39 am

using Java headless capability, included starting jdk 1.4

launch your JVM with -Djava.awt.headless=true, it will use internal java code only, not the OS rendering system.

Locked