title: Hyperlink in Eclipse is not working on click
body: <p>So, I just want to open a simple link in Eclipse. What I did:</p>
  
  <pre><code>final Hyperlink link = new Hyperlink(group, SWT.WRAP);
              link.addHyperlinkListener(new HyperlinkAdapter(){
                  public void linkActivated(HyperlinkEvent e) {
                      System.out.println("test");
  
              });
              link.setEnabled(true);
              link.setToolTipText("Test tooltip!");
              link.setForeground(new Color(null, 0, 0, 250));
              link.setText("Text");
  </code></pre>
  
  <p>All nice and good, the text appear in my color, but when I click the text I never get the System.out.println("test")...I see the tooltip also. But never enters in the linkActivated method. 
  Where I'm wrong ? 
  Additional info: this is done in a Dialog->Composite->Group </p>
  
  <p>Thank you in advance!</p>
  
  <p>LE: So sorry for that, the problem was that Eclipse imported automated  <em>javax.swing.event.HyperlinkEvent</em> when I really needed <em>org.eclipse.ui.forms.events.HyperlinkEvent</em>.
  Again sorry for spam, but it took me some time to find out this.</p>