public void createTable(){	
		//table list of participants registered from the workshops - from WKSHP_REGISTRATIONS
		int numParticipants = 0;
		
		ArrayList<String>registrations = ReadFromFile.getRegistrationList();
		columnNames = new String[4];
		columnNames[0] = "Type";
		columnNames[1] = "First";
		columnNames[2] = "Last";
		columnNames[3] = "Chapter";
		
		ArrayList<String>participants = new ArrayList<String>();
		
		for(int i = 0; i < registrations.size(); i++){ //lines of WKSHP_REGISTRATIONS
			String line = registrations.get(i);
			if(line.length() > 0){
				if(line.substring(1,4).equals(workshop.getID())){ //gets the registered ID's
					for(int j = 5; j < line.length(); j++){
						if(line.substring(j,j+1).equals("[")){
							String temp = "";
							int count = j+1;
							while(!line.substring(count,count+1).equals("]")){
								temp += line.substring(count,count+1);
								count++;
							}
							participants.add(temp);
							numParticipants++;
						}
					}
				}	
			}
		}
		data = new Object[numParticipants][4];
		for(int i = 0; i < participants.size();i++){
			Participant part = ReadFromFile.getParticipantByID(participants.get(i));
			data[i][0] = part.getType();
			data[i][1] = part.getFirstName();
			data[i][2] = part.getLastName();
			data[i][3] = part.getCode();
		}
		formatTable();
        this.add(scrollPane);
	}