title: Hiding cursor in Text component in Eclipse RCP application
body: <p>In my eclipse RCP application there are a few buttons &amp; few input boxes &amp; this below Text component. My problem is as soon as I press one of the buttons a cursor starts blinking in the below test component. Can you please let me know how to solve this.</p>
  
  <p>I tried:</p>
  
  <ol>
  <li>setting focus to false for Text.</li>
  <li><code>SWT.READ_ONLY</code> for Text .</li>
  <li><p>Code:</p>
  
  <pre><code>Cursor cursor = new Cursor(parent.getDisplay(), SWT.CURSOR_NO);
  protocolFilterDescription.setCursor(cursor);
  </code></pre></li>
  </ol>
  
  <p>Nothing seems to get rid of this unnecessary cursor.</p>
  
  <pre><code>protocolFilterDescription = new Text(parent, SWT.NONE | SWT.READ_ONLY  );
  FormData protocolFilterDescriptionLData = new FormData();
  protocolFilterDescriptionLData.left = new FormAttachment(0, 1000, 650);
  protocolFilterDescriptionLData.top = new FormAttachment(0, 1000, 290);
  protocolFilterDescriptionLData.width = 450;
  protocolFilterDescriptionLData.height = 12;
  protocolFilterDescription.setLayoutData(protocolFilterDescriptionLData);
  protocolFilterDescription.setForeground(new Color(parent.getDisplay(),
    204, 153, 0));
  protocolFilterDescription.setBackground(Display.getCurrent()
    .getSystemColor(SWT.COLOR_WIDGET_BACKGROUND));
  protocolFilterDescription.setFont(new Font(parent.getDisplay(),"Verdana",
    6, 1));
  protocolFilterDescription
    .setText("captured");
  </code></pre>