public void addEntry(String[] entry) {
		float xPosition = x+cellMargin, yPosition = (y+(fontSize)+(cellMargin*2))+(((cells.size()/columns.size())-1)*(rowHeight+(2*cellMargin)))+cellMargin;
		for (int i = 0; i < columns.size(); i++) {
			float cellWidth = columns.get(cells.size()%columns.size()).getCellWidth();
			addFBOTextBox(cells.size(), xPosition, yPosition, cellWidth, rowHeight, elementColour, false, true, true, entry[(cells.size()%columns.size())], font, fontSize, centralised);
			xPosition += cellWidth + (cellMargin*2);
		}
		for (int i = 1; i < lines.size(); i++) {
			lines.get(i).setEndY(lines.get(i).getEndY()+rowHeight+(2*cellMargin));
		}
		// Re-organise the table in the same order as it was before adding the entry:
		boolean orderedColumn=false;
		for (int i=0; i<columns.size(); i++){
			if(columns.get(i).getOrdered()){
				sortListEntries(i, columns.get(i).getReverseOrder());
				orderedColumn=true;
				break;
			}
		}
		// If no columns had been ordered, order it to default:
		if(!orderedColumn){
			sortListEntries(-1, false);
		}
	}