|
|
@ -11,6 +11,7 @@ import com.fr.design.gui.ilable.UILabel; |
|
|
|
import com.fr.design.layout.FRGUIPaneFactory; |
|
|
|
import com.fr.design.layout.FRGUIPaneFactory; |
|
|
|
import com.fr.design.utils.gui.GUICoreUtils; |
|
|
|
import com.fr.design.utils.gui.GUICoreUtils; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
|
|
|
|
import com.fr.stable.StringUtils; |
|
|
|
|
|
|
|
|
|
|
|
import javax.swing.BorderFactory; |
|
|
|
import javax.swing.BorderFactory; |
|
|
|
import javax.swing.DefaultListCellRenderer; |
|
|
|
import javax.swing.DefaultListCellRenderer; |
|
|
@ -98,8 +99,8 @@ public class ChartTypePane extends ChartCommonWizardPane { |
|
|
|
String[] subName = ChartTypeInterfaceManager.getInstance().getSubName(id); |
|
|
|
String[] subName = ChartTypeInterfaceManager.getInstance().getSubName(id); |
|
|
|
|
|
|
|
|
|
|
|
ChartTypePane.this.iconListModel.clear(); |
|
|
|
ChartTypePane.this.iconListModel.clear(); |
|
|
|
for (int i = 0, len = demoImagePath.length; i < len; i++) { |
|
|
|
for (int i = 0, len = subName.length; i < len; i++) { |
|
|
|
String ImagePath = demoImagePath[i]; |
|
|
|
String ImagePath = demoImagePath.length > i ? demoImagePath[i] : StringUtils.EMPTY; |
|
|
|
String chartName = subName[i]; |
|
|
|
String chartName = subName[i]; |
|
|
|
ChartTypePane.this.iconListModel.addElement(new ChartIcon(ImagePath, chartName)); |
|
|
|
ChartTypePane.this.iconListModel.addElement(new ChartIcon(ImagePath, chartName)); |
|
|
|
} |
|
|
|
} |
|
|
|