Set graphical user interface methods to public to allow JUnit testing.