|
|
|
@ -119,11 +119,10 @@ public class JDBCDefPane extends JPanel {
|
|
|
|
|
driverManageLabel.setVisible(selectSelfDefine); |
|
|
|
|
driverLoaderBox.setVisible(selectSelfDefine); |
|
|
|
|
driverComboBox.setVisible(!selectSelfDefine); |
|
|
|
|
// 选中自定义的话,将odbc的屏蔽,选中默认的话,重新触发一次driverComboBox的事件
|
|
|
|
|
if (selectSelfDefine) { |
|
|
|
|
odbcTipsLink.setVisible(false); |
|
|
|
|
} else { |
|
|
|
|
driverComboBox.setSelectedItem(driverComboBox.getSelectedItem()); |
|
|
|
|
odbcTipsLink.setVisible(ComparatorUtils.equals("sun.jdbc.odbc.JdbcOdbcDriver", driverComboBox.getSelectedItem())); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|