Moved PopupWindow stuff to MyWindow.java