Clickable text in JTextPane
Posted on 2003-03-25
I'm displaying a list of results in a JTextpane and attached to each on eof this results is a number which is used to edit that particular result. In order to edit the results at the moment, I need to enter the number in a textfield and then click a button in order to load its details.
I would like to know if I can possibly make these numbers "clickable" so that, if one clicks on it, the results which can be edited appear. Basically, I want to attach a clickable properties plus some sort of action listener device to the text in a JTextpane,
Is this possible?