On Wed, Oct 24, 2007 at 01:08:31PM +0100, Chris G wrote:
On Wed, Oct 24, 2007 at 01:01:35PM +0100, Richard Lewis wrote:
On Wednesday 24 October 2007 12:45:56 Chris G wrote:
Does anyone know how the font size is set in java applets?
AFAIK you can't. Everything about Java Applets is set in the Applet code. Unless the Applet exposes a method to alter its properties such as font sizes, it can't be done. The only other thing I notice is that Konqueror has an 'additional command options' box in its Java settings. If there is a command line option to alter Swing/AWT font sizes then it may be possible to do it like that. However, a quick bit of Googling doesn't seem to suggest that such a command line option exists.
[snip]
This is Firefox running on Sun displaying on my Fedora 7 desktop display, only the Sun Firefox has exactly the right JRE plugin version to run the Oracle Applet. The Sun Firefox hasn't changed for a year or two.
I've managed a workaround after some cussing and muttering.
The reason I *was* running Firefox on Solaris with the display on my Fedora 7 box was that only the Firefox on Solaris had the right Java plugin. For some reason the Oracle applet needs exactly the right version.
It was a bit of a pain running Firefox from the Solaris box anyway as it was rather slow and I had to set MOZ_NO_REMOTE=1 to stop it trying to use an existing Firefox on Fedora window.
So I found that I could still get the Java 1.4.2 plugin for Firefox on Linux, I installed that and - it still didn't work because that provides jpi-version=1.4.2_16 rather than the jpi-version=1.4.2_06 that the Oracle applet wanted.
Further scratching of head and hunting around, I finally found the configuration file for the applet, called formsweb.cfg and changed the line requiring jpi-version=1.4.2_06 to jpi-version=1.4.2_16 - and it works! Phew!
No one else uses this applet from Linux/Unix so I'll not cause anyone else a problem hopefully.
I did try setting jpi-version=1.6 and the latest Firefox java plugin but that didn't work.
It seems that the Oracle applet does different things on different browsers because this needing exactly the right version of Java doesn't happen with IE.