public void processCommands() {
		try {
			if (!commands.isEmpty()) {
				while (step == false && index < commands.size()) {
					parseLine(commands.get(index));
					index++;
				}
				if (index >= commands.size())
					frame.postMessage("Drawing Complete. " +
							"No further drawing commands available.\n");
			}
		} catch (ParseException e) {
			frame.postMessage("Parse Exception: " + e.getMessage() +"\n");
			return;
		} catch (FileNotFoundException e) {
			frame.postMessage("FileNotFound Exception: " + e.getMessage() +"\n");
		}
	}