Hello All,
Basically, I need to be able to have an EDITABLE document (in a
JEditorPane or JTextPane) with active hyperlinks. All I have read
seems to say that the HyperlinkListener only works for non-editable
documents. To get around this, I have been trying to imbed buttons
within a JTextPane that work like hyperlinks. Although I can do this
just fine, I am having trouble 1) making the button as small as one
letter of text 2) making the button be able to be copied along with
other text and 3) being able to save the document to a file.
Can somebody either tell me how to make a editor that allows for the
insertion of active hyperlinks, or how to resize buttons within a
JTextPane as well as how to make these imbedded buttons copyable (I
would also need a way to step through the document and recognize
wherever there is a button). Thanks in advance.
Oliver Wong - 17 Mar 2006 17:36 GMT
> Hello All,
> Basically, I need to be able to have an EDITABLE document (in a
[quoted text clipped - 11 lines]
> would also need a way to step through the document and recognize
> wherever there is a button). Thanks in advance.
I don't know the answer to your question, but I have some newsgroup
related advice. Don't create a new thread every couple of hours if you're
just going to ask about the same problem over and over again. Rather,
continue the discussion in the original thread you created.
If you start a new thread, some people will assume it's a new topic, and
will completely forget about all the (valuable) contextual information
provided in the previous one.
- Oliver