Create text.java

initialization