Update TextBox.java

Added additional write method that does not clear field before entering text.