GUI element declarations moved outside createAndShowGUI