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