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