@ -76,7 +76,10 @@ public class SVGIcon implements Icon {
}
BufferedImage image = (BufferedImage) SVGLoader.load(url);
icon = image == null ? IOUtils.readIcon(url) : new SVGIcon(image);
iconCache.put(url, icon);
//只缓存svg图表
if (image != null){
return icon;