Browse Source

Pull request #2191: CHART-15451 增加无匹配的提示

Merge in DESIGN/design from ~BJORN/design:final/10.0 to final/10.0

* commit 'ea414756a0eea7028b31b390f8f93bcd87fdaedd':
  CHART-15451 国际化
  CHART-15451 增加无匹配的提示
final/10.0
Kara 4 years ago
parent
commit
3cd85046f7
  1. 5
      designer-chart/src/main/java/com/fr/design/chart/AutoChartTypePane.java

5
designer-chart/src/main/java/com/fr/design/chart/AutoChartTypePane.java

@ -63,6 +63,8 @@ public class AutoChartTypePane extends ChartWizardPane implements CallbackEvent
private AutoProgressBar connectionBar;
private SwingWorker worker;
private static final String MESSAGE = Toolkit.i18nText("Fine-Design_Chart_Auto_No_Match");
public AutoChartTypePane() {
this.setLayout(FRGUIPaneFactory.createBorderLayout());
initButtonGroup();
@ -226,6 +228,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)) {

Loading…
Cancel
Save