I am trying to create a SWT Link with the text so it looks like the following
<this is the link>
where the text this is the link is the actual link.
I can get close with the following code:
link.setText("<a><this is the link></a>");
However, I want just the text to be the link, and not include the < and >. I thought I could do it simply by doing:
link.setText("<<a>this is the link</a>>");
But when I do that - I lose the ending >. Can anyone think of how to get the > back (without it being part of the link?
Thanks