Update JoshText.java

Add print action.