I had the same project 2 years ago, .... 
after hours or works ... I was only able to view static SVG in a applet.
I was told recently in this list that things have change since, 
therefore, I tryed again 2 months ago!

And it's always the same :
- you have to add "ALL" batik's jar with your applet
- you have to sign the jar
- you have to give special permissions to your applet (modify java policy on 
the client !)

and at the end .... only static SVG works ...
I still had the famous "ecma/script" error.

If someone has ever succeed, 
I thing this would be a tremendously good idea to post a fully operational 
sample/demo somewhere, and describe precisely what have to be done.

I believe Java Web Start could be great.

Thanks,
Christophe.


Selon Jamie <[EMAIL PROTECTED]>:

 Don wrote:
 
 > So I would like use Batik as an applet to download svg files to java
 enabled
 > web browsers and view them with interactive scaling and zooming embedded
 > on a web page. I've seen mention of java applets using the Batik viewer
 canvas, but I haven't 
 > been able to find any tutorials or sample code to do that. Is there a file
 or a web
 > site I should look at, or does it require a bit of Java programming to hook
 Batik up
 > in an applet, supporting simple pan/zoom/url navigation? 
 
 Implementing an applet to display SVG is relatively simple: use the JSVGCanvas
 component.
 
 The first problem you are going to quickly discover is that Batik is dependent
 on Java 1.3 (and thus requires a JRE plug-in on the client side). The second
 problem is the large amount of dependencies for JSVGCanvas, requiring you to
 include practically the whole batik/lib directory in the download.
 
 None of this invalidates your decision though, using a Java is still
 infinitely preferrable to ActiveX (a la Adobe SVG Viewer). However, if there
 is no issue with installation Java 1.3+ why not look at Java Web Start ...




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to