Update JavaApplication2.java