made the JPanels and TextAreas attributes of the file so can access them
inside the actionListeners