public void read() {
		try {
			if (this.in == null) {
				this.in =
						new InputStreamReader(new FileInputStream(this.curFile));
			}
			while (this.in.ready()) {
				this.inputInt = this.in.read();
				try {
					if (this.textArea == null) {
						return;
					}
					if (!this.running) {
						this.textArea.getDocument().insertString(
								this.textArea.getDocument().getLength(),
								"*READ TERMINATED*", null);
						return;// abort mid-read
					}
					if (!(this.textArea.getDocument() == null)) {
						this.textArea.getDocument().insertString(
								this.textArea.getDocument().getLength(),
								(char) this.inputInt + "", null);
					}
				}
				catch (final BadLocationException e) {
					e.printStackTrace();
					return;
				}
			}
		}
		catch (final IOException e) {
			e.printStackTrace();
			return;
		}
	}