public CollectionDialog(Frame owner, CollectionClient col) {
super(owner, true);
this.col = col;
PropertyInfo pageSize = new PropertyInfo("pagesize", "Page Size", "4096", true, PropertyInfo.TYPE_INT);
PropertyInfo directory = new PropertyInfo("location", "Directory", "", true);
PropertyInfo extensions = new PropertyInfo("ext", "Extensions", "xml xsl xsd xhtml svg");
PropertyInfo readOnly = new PropertyInfo("readonly", "Read Only", "false", false, PropertyInfo.TYPE_BOOLEAN);
properties[0] = new ArrayList();
properties[0].add(pageSize);
properties[1] = new ArrayList();
properties[2] = new ArrayList();
properties[2].add(directory);
properties[2].add(extensions);
properties[2].add(readOnly);
properties[3] = new ArrayList();
properties[3].add(new PropertyInfo("driver", "Driver Class", "", true));
properties[3].add(new PropertyInfo("url", "JDBC URL", "", true));
properties[3].add(new PropertyInfo("username", "User Name"));
properties[3].add(new PropertyInfo("password", "Password", "", false, PropertyInfo.TYPE_PASSWORD));
properties[3].add(new PropertyInfo("mapfile", "Map File"));
properties[3].add(new PropertyInfo("namespace", "Output Namespace"));
properties[3].add(new PropertyInfo("sort", "Record Sorting", "true", false, PropertyInfo.TYPE_BOOLEAN));
properties[3].add(new PropertyInfo("distinct", "Distinct Records", "true", false, PropertyInfo.TYPE_BOOLEAN));
properties[3].add(new PropertyInfo("passthru", "SQL Passthru", "false", false, PropertyInfo.TYPE_BOOLEAN));
properties[4] = new ArrayList();
properties[4].add(pageSize);
properties[5] = new ArrayList();