public void run() {
			try {
				progressBar querySelect = new progressBar();
				querySelect.setVisible(true);
				String xml = Methods.executeSQLSelect(queryString);
				querySelect.setVisible(false);
				String xString = null;
				if (xml.equalsIgnoreCase("<return>null</return>")
						|| xml == null) {
					JOptionPane
							.showMessageDialog(
									logArea,
									"Query returned no values \n Please Check query syntax!",
									"CMUtls - SQL Syntax Error",
									JOptionPane.ERROR_MESSAGE);
				} else {
					try {
						Document doc = DocumentBuilderFactory
								.newInstance()
								.newDocumentBuilder()
								.parse(new ByteArrayInputStream(xml.getBytes()));
						TransformerFactory tf = TransformerFactory
								.newInstance();
						Transformer t = tf.newTransformer();
						t.setOutputProperty(OutputKeys.METHOD, "html");
						ByteArrayOutputStream os = new ByteArrayOutputStream();
						t.transform(new DOMSource(doc), new StreamResult(os));
						xString = new String(os.toByteArray(), "UTF-8");
						xString = xString.replaceAll("(\\r|\\n)", "");
						Variables.sqlRows = Methods.substringsBetween(xString,
								"<row>", "</row>");
					} catch (Exception ex) {
						ex.printStackTrace();
					}
					Variables.sqlRowFields = Methods.substringsBetween(
							Variables.sqlRows[0], "<", ">", "/");
					Variables.sqlTableColumns = new String[Variables.sqlRowFields.length];
					for (int x = 0; x < Variables.sqlRowFields.length; x++) {
						Variables.sqlTableColumns[x] = Variables.sqlRowFields[x];
						Variables.sqlTableRows = new String[Variables.sqlRows.length][Variables.sqlRowFields.length + 1];
					}
					for (int y = 0; y < Variables.sqlRows.length; y++) {
						for (int g = 0; g < Variables.sqlRowFields.length; g++) {
							Variables.sqlTableRows[y][g] = Methods
									.substringBetween(Variables.sqlRows[y], "<"
											+ Variables.sqlRowFields[g] + ">",
											"</" + Variables.sqlRowFields[g]
													+ ">");
						}
					}
					resultsTable.setModel(new DefaultTableModel(
							Variables.sqlTableRows, Variables.sqlTableColumns) {
						private static final long serialVersionUID = -6396300478056746940L;
						boolean[] columnEditable = new boolean[6];

						public boolean isCellEditable(int rowIndex,
								int columnIndex) {
							return this.columnEditable[columnIndex];
						}
					});
					TableColumn tc = null;
					for (int i = 0; i < resultsTable.getColumnCount(); i++) {
						tc = resultsTable.getColumnModel().getColumn(i);
						if (i == 1) {
							tc.setWidth(1);
							;
						} else {
							tc.setWidth(80);
						}
					}
					TableRowSorter<TableModel> sorter = new TableRowSorter<TableModel>(
							resultsTable.getModel());
					resultsTable.setRowSorter(sorter);
					logArea.append("Retrieved " + Variables.sqlRows.length
							+ " records! \n");
				}
			} catch (Exception error) {
				error.printStackTrace();
			}
		}