xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lolling, Jan" <Jan.Loll...@t-systems.com>
Subject AW: question on JSVGCanvas
Date Tue, 11 Mar 2003 17:25:18 GMT
A possible architecture could be:
Use a JRootPane and add JSVGCanvas to the contentPane
Add your labels to the glassPane und make shure that your glassPane is not opaque.

Be aware that JSVGCanvas resize his dimension if you load an SVG image zo fit the image ins
the whole size. You have to adapt your svg code to create the correct image dimension.

Jan


-----Ursprungliche Nachricht-----
Von: Claire WALL [mailto:K995363@atlas.kingston.ac.uk]
Gesendet: Dienstag, 11. Marz 2003 18:15
An: batik-users@xml.apache.org
Betreff: question on JSVGCanvas


Hi,

I want to have a JPanel with an SVG image as the background. 
The JPanel will contain JLabels. How would I do this?

Is it possible to add JLabels onto an JSVGCanvas? Or is there a 
way to set an SVG image as a background with JLabels on top?


Claire

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Mime
View raw message