diff --git a/designer-chart/src/com/fr/van/chart/wordcloud/designer/style/VanChartWordCloudSeriesPane.java b/designer-chart/src/com/fr/van/chart/wordcloud/designer/style/VanChartWordCloudSeriesPane.java index dfd7b0cbd..94b8b7b1d 100644 --- a/designer-chart/src/com/fr/van/chart/wordcloud/designer/style/VanChartWordCloudSeriesPane.java +++ b/designer-chart/src/com/fr/van/chart/wordcloud/designer/style/VanChartWordCloudSeriesPane.java @@ -2,6 +2,7 @@ package com.fr.van.chart.wordcloud.designer.style; import com.fr.base.Utils; import com.fr.base.background.ImageBackground; +import com.fr.base.background.ImageFileBackground; import com.fr.chart.chartattr.Plot; import com.fr.design.gui.ibutton.UIButtonGroup; import com.fr.design.gui.icombobox.UIComboBox; @@ -153,7 +154,7 @@ public class VanChartWordCloudSeriesPane extends VanChartAbstractPlotSeriesPane CloudShapeType type = (CloudShapeType)cloudShape.getSelectedItem(); String path = type.getImageUrl(); if(path != null) { - ImageBackground imageBackground = new ImageBackground(IOUtils.readImage(path)); + ImageFileBackground imageBackground = new ImageFileBackground(IOUtils.readImage(path)); imageBackgroundQuickPane.populateBean(imageBackground); } else { imageBackgroundQuickPane.populateBean(new ImageBackground());