Hi,
The volatile buffer rendering used by default in Pivot makes performance
of my application *terrible* on Linux. On the other hand, it makes no
difference on Windows.
So I wanted to switch it off.
In a standalone mode, I can put a
System.setProperty("org.apache.pivot.wtk.disablevolatilebuffer", "true")
early in the main and it works fine.
However, I'm struggling how to achieve the same for the applet.
Calling System.setProperty in the constructor of my wtk.Application
class is probably too late - no effect.
And when I put it into my JNLP descriptor like this:
<jnlp ...>
<information>
...
</information>
<resources>
<j2se version="1.6+"></j2se>
<property value="true" name="jnlp.packEnabled"></property>
<property name="jnlp.concurrentDownloads" value="1"/>
<property name="org.apache.pivot.wtk.disablevolatilebuffer" value="true"/>
<jar ... />
<jar ... />
</resources>
...
</jnlp>
the only thing I get is a SecurityException telling me it cannot read
the org.apache.pivot.wtk.disablevolatilebuffer property.
So, how should I do it?
Regards,
Piotr