• Post Reply Bookmark Topic Watch Topic
  • New Topic

SVG on Jpanel Problem

 
nesma abd el mawla
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm working on loading SVG images on Jpanel using "Apache(tm) Batik SVG Toolkit" , but after the image get loaded it has "white background" and "not transparent" one like PNG images,
I checked "fill" of rect attribute on the xml file of the svg image and it was correctly set to none,
I also Tested the image on html document and it was trasparent, but in my java app it has white background.




The Question is there any way to load SVG images with transparent background on Jpanel ?

Thanks in advance
 
Josh Borg
Ranch Hand
Posts: 37
Chrome Eclipse IDE Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why do not use png images?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!