1. Selection of embedded items in a JTextPane stackoverflow.comA |
2. Embed excel content to JTextPane with alignement coderanch.com |
3. JTextPane+embed a hyperlink forums.oracle.comYou must add a Hyperlink listener, then deal with the event when it occurs. How you deal with the event is up to you, but it is possible to open up the users default browser to the specified url. I can't seem to find the code now, but there are snippets out there to do this, just google |