I think I'll take a deeper look at Batik and SVG and use it for my work as it sounds pretty good.
Cheers, Reinhard
Thomas E Deweese wrote:
Hi Reinhard,
Yes, SVG and Batik should be a pretty good match for this use case. I would have one 'template' SVG file that is read and displayed at startup. The file would be mostly be empty except for a 'defs' section that includes templates for all of your Representations.
Then as you need to put elements into the Monitor you can look up the template via Document.getElementById("BFR"); The clone the template, update the text as needed and add the clone to the display portion of the 'template' document.
One cool thing about structuring your document this way is that you can easily modify your templates to have 'looks and feels'. If you look at 'samples/mines.svg' It uses this basic approach to implement a mine sweeper type application (it uses 'use' elements rather than directly cloning the elements).
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
