Hi Thomas,
thanks for your thorough analysis.
Your assumption about no one here having working knowledge about ECMA
script is correct.
For now, I have implemented the UI in Java, but I hope to find the time
tomorrow to convert it to ECMA script and maybe learn a bit or two in
the process.
Also having
the UI in one language and the bulk of the app in another has
a secondary effect of ensuring a clean separation of the UI from
the application engine.
Luckily, that's not too much of an issue in this case. The existing UI
is already separated from both presentation logic and the underlying
model, and anything but re-implementing the existing UI-interfaces for
the new component would cause more trouble than it's worth.
Working on this has brought up an idea:
From discussions on this list, I have a rough understanding that Batik
is able to convert SVG images to a number of different bitmap formats,
such as PNG.
Right now, our distributions come with a set of icons, that differ only
in the colors used for a single image layer. Currently, there are 30
icons (10 variants in 3 sizes each).
I guess it would be no big deal to re-build these icons using SVG and
exchange the color-layer for each of them on-the-fly. This would allow
for much simpler extension and modification in the future.
What I'd like to know is, whether the transcoder system is fast enough
generate the images at runtime without too much of a slowdown.
Regards
-Urs
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]