I want to add hyperlink on table item in swt but I can not find any method for it.Now I want to set cursor icon to hand icon when the cursor move on that particular item column.. so that particular item feel like a hyperlink.tell me any suggestion or method of this..
public void drawTable(String[] str) {
if (str != null) {
TableItem it1 = new TableItem(table, SWT.NONE);
int i = str.length;
String[] tmp = new String[i];
tmp[0] = str[0];
tmp[1] = str[1];
int k = i - 1;
for (int j = 2; j < i; j++, k--) {
tmp[j] = str[k];
}
it1.setText(tmp);
for (i = 2; i < str.length; i++) {
it1.setForeground(i, display.getSystemColor(SWT.COLOR_BLUE));
}
}
}