|
|
|
@ -63,6 +63,9 @@ public class AutoChartTypePane extends ChartWizardPane implements CallbackEvent
|
|
|
|
|
private AutoProgressBar connectionBar; |
|
|
|
|
private SwingWorker worker; |
|
|
|
|
|
|
|
|
|
//暂时不做国际化
|
|
|
|
|
private static final String MESSAGE = "当前数据没有匹配到合适的图表,请调整数据后再次尝试。"; |
|
|
|
|
|
|
|
|
|
public AutoChartTypePane() { |
|
|
|
|
this.setLayout(FRGUIPaneFactory.createBorderLayout()); |
|
|
|
|
initButtonGroup(); |
|
|
|
@ -226,6 +229,9 @@ public class AutoChartTypePane extends ChartWizardPane implements CallbackEvent
|
|
|
|
|
chartResultModel.addElement(autoChartIcon); |
|
|
|
|
} |
|
|
|
|
chartViewList.setSelectedIndex(0); |
|
|
|
|
} else { |
|
|
|
|
FineJOptionPane.showMessageDialog(AutoChartTypePane.this, MESSAGE, |
|
|
|
|
Toolkit.i18nText("Fine-Design_Basic_Message"), JOptionPane.INFORMATION_MESSAGE, UIManager.getIcon("OptionPane.informationIcon")); |
|
|
|
|
} |
|
|
|
|
} catch (Exception e) { |
|
|
|
|
if (!(e instanceof CancellationException)) { |
|
|
|
|