|
|
|
@ -185,6 +185,12 @@ 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()); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
ActionListener dbtypeActionListener = new ActionListener() { |
|
|
|
|