Update MyWindow.java