Create textbased.java