Added a MouseAdapter to the GUI. Added some annotation.