Update TreeApplication.java