@Override
		public void keyTyped(final KeyEvent e) {
			c1a[0] = e.getKeyChar();
			if (c1a[0] < 0x20) {
				if (c1a[0] == '\b') {
					if (textField.getSelectionStart() == textField
							.getSelectionEnd()) {
						int pos = textField.getCaretPosition();
						if (pos == 0)
							return;
						textField.setSelectionStart(pos - 1);
					}
					textField.replaceSelection("");
				}
				return;
			} else if (c1a[0] == 0x7f) {
				if (textField.getSelectionStart() == textField
						.getSelectionEnd()) {
					int pos = textField.getCaretPosition();
					if (pos == textField.getText().length())
						return;

					textField.setSelectionEnd(pos + 1);
				}
				textField.replaceSelection("");
				return;
			}
			textField.replaceSelection(new String(c1a));
		}