@Override
 public void actionPerformed(ActionEvent e) {
   JButton clicked = (JButton) e.getSource();
   if (clicked == helloButton) {
     textListener.textEmitted("Hello\n");
   } else if (clicked == goodByeButton) {
     textListener.textEmitted("Good\n");
   }
 }
 @Override
 public void actionPerformed(ActionEvent e) {
   // TODO Auto-generated method stub
   JButton clicked = (JButton) e.getSource();
   if (clicked == helloButton) {
     // textPanel.appendText("Hello\n");
     if (textListener != null) {
       textListener.textEmitted("Hello\n");
     }
   } else if (clicked == goodbyeButton) {
     // textPanel.appendText("Goodbye\n");
     if (textListener != null) {
       textListener.textEmitted("Goodbye\n");
     }
   } else if (clicked == mostrarInfo) {
     // textPanel.appendText("Goodbye\n");
     if (arrayListener != null) {
       // textListener.textEmitted("Goodbye\n");
       arrayListener.arrayEmitted(this.myList);
     }
   }
 }