Added uodated App.java that creates the winsow