Deleted Window class and changed LayoutManager of AppWindow to a GridBagLayout.