Hi Marc,
You've probably done that already, but just in case:
The AWT-Panel you add the JSVGCanvas into should overwrite
its update method:
public void update(Graphics g) {
paint(g);
}
This solved some initial flickering we experienced in our RCP-App.
Good luck, Volker
Marc Doerflinger wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hello batik-users!
i need to display svg graphics within our swt application. so far i did
this by embedding the jsvgcanvs within a swt composite. but once i start
massive editing within the svg (moving of elements) in dynamic mode, the
graphics start to flicker. i already asked about the flickering problem
before in this list, but i didnt recieve any useable answers. also the
problem does not seem to exist within swing applications. since i cannot
change to swing, i wonder if someone knows any other way of displaying
svg graphics within a swt application. are there any other libraries
besides batik? if not, are there any plans for batik to support "native"
(without embedding swing components) swt?
regards,
marc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGZoJk6mRZxtk0FrcRApXMAKCu0ugc/GZr8OP8M03Texfm21axUgCfUlUl
kKLi091CkMobClgTtREOEkU=
=6NTQ
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]