Using the event builder in the listener class of the JFrame.  Removed debug print statements