I am very new to using StyledText
, TextStyle
.
I am trying to give a hyperlink look for a text that is displayed. I am using TextStyle
object to create a hyper link style text. For TextStyle
constructor I am passing Font
object which has the style SWT.UNDERLINE_LINK
, expecting it to create a text with hyperlink style [as per javadoc].
I am not able get this style working. Other styles SWT.BOLD
, SWT.ITALICS
works but not SWT.UNDERLINE_LINK
. Are there any special conditions to use SWT.UNDERLINE_LINK
?