title: How do I make JTextArea or JTextPane columns clickable?
body: <p>I'm working on a extremely basic Java video player project which is my coursework. I've 2 JTextPanes: 1 for listing all videos and 1 for creating playlist. </p>
  
  <p>So far the only way I could add videos to the playlist is to put video id(from database) in a text field and click add button. But I would like my player to have the functionality to add videos to the JTextPane, or anything else if you think is better(for playlist), by clicking on the column of the JTextPane(all videos). I guess I have to add mouse listener to the JTextPane. </p>
  
  <p>But how do I add mouse listener to each of the column of the JTextPane? Any help &amp; suggestions greatly appreciated!</p>
  
  <p>Thanks in advance!</p>