|
|
@ -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() { |
|
|
|