public boolean checkFields(JTextField name, JTextField direction,
				JTextField speed, JTextField rowField, JTextField columnField) {
			if (name.getText().equals("") || direction.getText().equals("")
					|| speed.getText().equals("")
					|| rowField.getText().equals("")
					|| columnField.getText().equals("")) {
				JOptionPane.showMessageDialog(rescue,
						"All fields need to be filled!", "ERROR",
						JOptionPane.ERROR_MESSAGE);
				return false;
			} else if (Searcher.decodeDirection(direction.getText()) == null) {
				JOptionPane.showMessageDialog(rescue,
						"That is not a valid direction!", "ERROR",
						JOptionPane.ERROR_MESSAGE);
				return false;
			} else {
				try {
					Integer.parseInt(rowField.getText());
					Integer.parseInt(columnField.getText());
					Integer.parseInt(speed.getText());
				} catch (NumberFormatException n) {
					JOptionPane.showMessageDialog(rescue,
							"Row, column, and speed need to be integers!",
							"ERROR", JOptionPane.ERROR_MESSAGE);
					return false;
				}
			}
			return true;
		}