title: Generate a clickable event from a text area
body: <p>I want to generate a clickable event from text area which contains a list of names of people. When we click on a certain name it must make a call to a method (which in turn is going to display the details of that person from a XML file). </p>
  
  <p>Is this possible with text area? I have heard about <code>JTextPane</code>, but I need some other option.</p>