Hi Cameron, this is very cool stuff! Thanks for sharing.
I tested it on several browsers. On IE7 (Windows, obviously ;-)) it seems to run fine. On Apples current Safari it works like a charm (the applet subjectively loads faster than in other browsers), in Firefox it runs fine, on Opera it loads the SVG graphics, but as you said, the scripting from the HTML form doesn't work. I get the following error message: --------- JavaScript - http://arc.mcc.id.au/temp/2006/applet/demo.html Event thread: click Error: name: TypeError message: Statement on line 14: Type mismatch (usually a non-object value used where an object is required) Backtrace: Line 14 of inline#3 script in http://arc.mcc.id.au/temp/2006/applet/ demo.html chart.updateBar(name, value); Line 5 of inline#3 script in http://arc.mcc.id.au/temp/2006/applet/ demo.html updateBar("ShoeBar"); Line 1 of script update(); At unknown location [statement source code not available] ---------- Maybe you could discuss this issue with one of the Opera developers. In my experience, they are responsive. Thanks for sharing, I will try with my own examples soon. Andreas --- In [email protected], Cameron McCormack <[EMAIL PROTECTED]> wrote: > > Hi Andreas and Anil. > > I was discussing this with Anil off-list and how I ran into a problem > with Batik in an applet, but it seems it was just because I forgot to > copy a file. :) > > Anil Ranka: > > > This can solve my problem. I can still have SVG and create java applet > > > based on Batik API which will be embedded into my web-page. > > > > > > I need pointers to evaluate this or please validate my thought. > > Ok so here is a demo of using Batikâs JSVGCanvas component in an applet > that will go up on the projectâs website some time: > > http://arc.mcc.id.au/temp/2006/applet/demo.html > > It demonstrates scripting the applet from the HTML page. (I tested it > in Firefox, and for some reason I couldnât get the scripting to work in > Opera.) The code for the applet is here: > > http://arc.mcc.id.au/temp/2006/applet/demo/AppletDemo.java > > and you can see the files that are required for the applet to run: > > http://arc.mcc.id.au/temp/2006/applet/demo/ > > Cameron > > -- > Cameron McCormack, http://mcc.id.au/ > xmpp:[EMAIL PROTECTED] ⪠ICQ 26955922 ⪠MSN [EMAIL PROTECTED] > ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

