Hello,
my ongoing project needs some refinement in it's SVG parts.
Currently, we're using Swing components rendered over a SVG image
for user input, but since the SVG images will be zoomable soon,
this is no longer an option.
Thus, I am about to create an SVG replacement for the Swing interface,
and was wondering whether I should script the visual behaviour of the interface using ECMA script or Java.

Here's what I need to do:
The interface consists of a row of buttons.
The user can either click on of the buttons to select all of them up to the clicked one. As an alternative, one can click&hold somewhere within the bounds of the component to have a selection rectangle appear. This rectangle stretches from the left side of the component up to the x-coordinate clicked. The x-coordinate can be adjusted by drag and drop. After releasing the mousebutton, all of the buttons currently under the rectangle are selected.

It's pretty simple, for most parts, but the adjustable rectangle made me wondering: Is one of the two, ECMA or Java clearly superior in terms of speed, capabilities or ease of development (in an Batik/SVG context, of course)?

Thanks
-Urs

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

Reply via email to