In an RCP application, I use SWT text as follows:
Text text = new Text(shell, SWT.SEARCH | SWT.ICON_CANCEL | SWT.ICON_SEARCH);
Inside Text , you can get a search and cancel icon. I get this icon on Ubuntu Linux, whereas on Windows 7 this icon does not appear. Can someone help me with this?
source share