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:[EMAIL PROTECTED]
Gesendet: Dienstag, 11. Marz 2003 18:15
An: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to