This is the example that was developed in class, providing a GUI for the Student class. In this version the listener has been implemented as an internal class.