Browse Source

REPORT-62539 优化下代码

bugfix/11.0
xiqiu 3 years ago
parent
commit
aee7de4371
  1. 6
      designer-base/src/main/java/com/fr/design/data/datapane/connect/JDBCDefPane.java

6
designer-base/src/main/java/com/fr/design/data/datapane/connect/JDBCDefPane.java

@ -119,11 +119,7 @@ public class JDBCDefPane extends JPanel {
driverManageLabel.setVisible(selectSelfDefine); driverManageLabel.setVisible(selectSelfDefine);
driverLoaderBox.setVisible(selectSelfDefine); driverLoaderBox.setVisible(selectSelfDefine);
driverComboBox.setVisible(!selectSelfDefine); driverComboBox.setVisible(!selectSelfDefine);
if (selectSelfDefine) { odbcTipsLink.setVisible(driverComboBox.isVisible() && ComparatorUtils.equals("sun.jdbc.odbc.JdbcOdbcDriver", driverComboBox.getSelectedItem()));
odbcTipsLink.setVisible(false);
} else {
odbcTipsLink.setVisible(ComparatorUtils.equals("sun.jdbc.odbc.JdbcOdbcDriver", driverComboBox.getSelectedItem()));
}
} }
}; };
ActionListener dbtypeActionListener = new ActionListener() { ActionListener dbtypeActionListener = new ActionListener() {

Loading…
Cancel
Save