Calls linkActivated on the associated JEditorPane
if the given position represents a link. If this was the result
of a mouse click,
x
and
y
will give the location of the mouse, otherwise
they will be < 0.
Parameters:
-
pos - the position
-
html - the editor pane