I usually just extend the class and call super(null, true, false). Or you could just simply say:
batikCanvas = new JSVGComponent(null, // userAgent
true, // eventsEnabled
false); // selectableText
No need to modify any source.
Barbisch, Martin wrote:
Thanks for the quick response!If you're talking about either JSVGCanvas or JSVGComponent, you can control whether text selection is enabled by specifying selectableText=false in the constructor.
Is this the only possibility?is it possible to turn off text selection in Batik?...without modifying the source code? (by using JavaScript or a setting in the preference dialog) Cheers, Martin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- George Armhold Rutgers University eLearning Grant, DCIS --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]