//Create a parsefile object.
ParseFile pf = new ParseFile(false);
//Let the parse file methods analyse the file to get the field values and the field length.
pf.ReadFirstLine(cs.getFileOpen().getSelectedFile());
pf.AnalyseFile(cs.getFileOpen().getSelectedFile());
//Set the db connection for the createtable object
ct = new CreateTable();
ct.setDbCon(cc.getDbCon());
ct.setTableName(cs.getFTableName().getText());