public void run() {
					
					manager.folderLocation(fileLoc.getText());
					
					if (fileLoc.getText().equals("")) {
						errorHasOccured("Please enter a directory.", "Error", JOptionPane.ERROR_MESSAGE);
						return;
					}
					
					int checkError = manager.searchFolder();
					
					if (checkError == 0) {
						errorHasOccured("The location - " + fileLoc.getText() + " has caused an error, please try again.", "Error", JOptionPane.ERROR_MESSAGE);
						return;
					}
					
					if (folderData!=null) {
						content.remove(folderData);
						folderData = null;
					}
					
					folderData = generateTable();
					content.add(folderData);

					totalLabel.setText(SortOperations.sizeParser(manager.totalSize()) + " in total.");
					totalLabel.setVisible(true);
					
				}