added a messsanger class to transmit messages from one JPanel to another