This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have a splitpane. On the left side of the splitpane I have a panel which has a textarea. On the right side of the splitpane I have another panel with a JEditorpane. The contents of the JEditor pane is an html file that has hyperlinks. The hyperlinks are links to some files. When I click on the hyperlink, I want the particular file to be displayed in the textarea. At present when I click on the hyperlink, the file contents are loaded in the JEditorPane. But, I want the contents to be loaded in the textarea. How do I achieve this? Please, can anyone give me some inputs how I implement the hypertextListener