Revert "Update JavaApplication1.java"

This reverts commit 09ec70f1b604173bbc00054b4c4a747a0039012b.