hyperlink in java
Is 开发者_如何学Gothere any method to create clickable hyperlink in JTextArea in Java?
One way you can do it if you absolutely want to use the jTextArea is to get the User MouseClick(x,y) location and then handle from there.
However, the easier way out would be to use a JEditorPane. Maybe this link will help:
http://www.apl.jhu.edu/~hall/java/Swing-Tutorial/Swing-Tutorial-JEditorPane.html
Cheers!
精彩评论