Java viewer uses Java 1.1

Quentin Stafford-Fraser quentin "at" orl.co.uk
Wed, 03 Jun 1998 19:18:46 +0000


Edward Avis wrote:

> vncCanvas.java uses the method java.awt.Graphics.setClip(), which is new
> in Java 1.1.
>
> I thought the Java viewer was deliberately 1.0, so it could be viewed
> from any browser.

Yes, but everywhere it's used the NoSuchMethodError exception is caught and
a 1.0-compatible alternative used.

Not all browsers handle this properly; on Netscape 3 on Windows, for
example, you will get an exception message, but if you reload the page it
should be OK, as mentioned in the FAQ.

Regards,
Quentin
--
---------------------------------------------------------------------
Dr Quentin Stafford-Fraser                  http://www.orl.co.uk/~qsf
   ORL - The joint research laboratory of Olivetti and Oracle
---------------------------------------------------------------------