W3C home > Mailing lists > Public > www-svg@w3.org > November 2001

Java & SVG

From: Sigurdur Darri Skulason <sidar@bagguley.com>
Date: Mon, 19 Nov 2001 17:44:07 -0000
Message-Id: <200111191744.fAJHi7889923@bagguley.com>
To: <www-svg@w3.org>
Hello all

 I know that this may be a stupid question, but I would appreciate some 

 Basically we have created a solution that is based on Javascript/DHTML/SVG 
etc and drives dynamically some svg files, including a world map view running 
in the Adobe SVG plugin inside IE. Based on XML information fetched from 
various sources by the javascript code, we change attributes of various nodes 
on the svg map.

 I am now interested in creating a Java version of this solution, so that it 
could potentially be considerably more powerful and dynamic. I would however 
like to continue using SVG for the graphics. 

 Based on looking at the batik implementation it seems that it does not 
support dynamic modification and updates of SVG elements, so that I would not 
be able to, say, change the color of a node in my SVG file without having to 
re-render the whole file. 

 A way around this does therefore seem to be to continue using the adobe 
plugin in IE, with the java code running as a applet, and the two 
communicating via javascript. It does not seem quite as elegant though and I 
would also prefer being able to contain the SVG inside the Java application.

 My question is therefore: Is there any way to do this Java <-> SVG 
interaction in a obvious way that I am missing or does anyone have any 
suggestions. Any information or pointers would be very much appreciated.


Sigurdur Darri Skulason [sds@darval.com]
Technical Director, Darval Solutions Ltd, Oxford.
Received on Monday, 19 November 2001 12:44:08 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:46:51 UTC