databaseManager = new EdgeListDatabaseManager();
initComponents();
}
public static ValidationPanel createValidationPanel(EdgeListPanel innerPanel) {
ValidationPanel validationPanel = new ValidationPanel();
if (innerPanel == null) {
throw new NullPointerException();
}
validationPanel.setInnerComponent(innerPanel);
ValidationGroup group = validationPanel.getValidationGroup();
//Validators
group.add(innerPanel.configNameTextField, Validators.REQUIRE_NON_EMPTY_STRING);
group.add(innerPanel.hostTextField, Validators.HOST_NAME_OR_IP_ADDRESS);
group.add(innerPanel.dbTextField, Validators.REQUIRE_NON_EMPTY_STRING);