Added specs to the methods in ChatGUI.java