|
|
@ -515,8 +515,9 @@ public class JDBCDefPane extends JPanel { |
|
|
|
refreshDriverManage(true); |
|
|
|
refreshDriverManage(true); |
|
|
|
this.driverManageBox.setSelectedItem(Toolkit.i18nText("Fine-Design_Driver_Manage_Self_Define")); |
|
|
|
this.driverManageBox.setSelectedItem(Toolkit.i18nText("Fine-Design_Driver_Manage_Self_Define")); |
|
|
|
String represent = getRepresent(jdbcDatabase.getDriver(), jdbcDatabase.getDriverSource()); |
|
|
|
String represent = getRepresent(jdbcDatabase.getDriver(), jdbcDatabase.getDriverSource()); |
|
|
|
this.driverLoaderBox.removeItem(represent); |
|
|
|
if (!nameAndRepresent.containsValue(represent)) { |
|
|
|
this.driverLoaderBox.addItem(represent); |
|
|
|
this.driverLoaderBox.addItem(represent); |
|
|
|
|
|
|
|
} |
|
|
|
this.driverLoaderBox.setSelectedItem(represent); |
|
|
|
this.driverLoaderBox.setSelectedItem(represent); |
|
|
|
} |
|
|
|
} |
|
|
|
this.urlTextField.setText(jdbcDatabase.getURL()); |
|
|
|
this.urlTextField.setText(jdbcDatabase.getURL()); |
|
|
|