I am pretty sure I had done something like this in Java once upon a time in an applet -- but if so, it defies my ever finding it. How about cT or Hypertalk or MacPascal? (as though anyone would care)
I now see what you mean by "the JSVGCanvas" -- I was unfamiliar with the term, but it does look rather Java-esque. JDK1.1.2 or thereabouts used to ship with a cool little example from Sun that had nodes rubberbanding about based on graph theoretic distance. The code was brief but impressive. Perhaps it could be hunted down with a small amount of effort. regards, DD ----- Original Message ----- From: "John Paterson" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Sunday, March 04, 2007 9:18 AM Subject: Re: [svg-developers] Drawing on the JSVGCanvas > > Hi There DD, > > Thanks for your reply, the examples are excellent! Have you got anything > simular but can do the same in Java rather than JavaScript? > > Thanks > > John > >>From: "ddailey" <[EMAIL PROTECTED]> >>Reply-To: [email protected] >>To: <[email protected]> >>Subject: Re: [svg-developers] Drawing on the JSVGCanvas >>Date: Sat, 3 Mar 2007 08:04:46 -0500 >> >>"I wish to be able to draw on the canvas freely and create shapes such >>as circles, lines and text by the use of a mouseOnclick, mouseDragged >>and mouseReleased. " >> >>A very simple thing can be seen here: >>http://srufaculty.sru.edu/david.dailey/svg/rectdraw.svg >> >>For something more complicted, take a look at >>http://srufaculty.sru.edu/david.dailey/svg/Draw018.html It has some bugs >>here and there, but some of the basic utility you're talking about works. >> >>Another thing that responds a bit differently to mousedown and mouseover >>and drags (but contains some variant of rubber-banding, albeit graph >>theoretic) is here: >>http://srufaculty.sru.edu/david.dailey/svg/graphs30.svg >> >>Hope this helps, >>DD >> >>[Non-text portions of this message have been removed] >> > > _________________________________________________________________ > MSN Hotmail is evolving - check out the new Windows Live Mail > http://ideas.live.com > > > > > ----- > 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 > > > > > ------------------------ Yahoo! Groups Sponsor --------------------~--> See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/0It09A/bOaOAA/yQLSAA/1U_rlB/TM --------------------------------------------------------------------~-> ----- 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/

