title: ScrollPane causes my plugin to freeze
body: <p>I use the following code to include an Applet in a ScrollPane into my view for my eclipse plugin:</p>
  
  <pre><code>@Override
      public void createPartControl(Composite parent) {
  
          composite = new Composite(parent, SWT.EMBEDDED);
          final Frame frame = SWT_AWT.new_Frame(composite);
          frame.setLayout(new BorderLayout());
  
          Panel panel = new Panel();
          panel.setSize(WIDTH, HEIGHT);
          pap = new ProcessingEmbedded2();       
          ScrollPane pane = new ScrollPane(ScrollPane.SCROLLBARS_AS_NEEDED);
  
          panel.setLayout(new BorderLayout());
          panel.add(pap, BorderLayout.CENTER);
  
          frame.add(pane, BorderLayout.CENTER);
          pane.add(panel);
  }
  
  
  public class ProcessingEmbedded2 extends Applet {
  
  
  }
  </code></pre>
  
  <p>This worked fine in the Eclipse RPC/For plugin developers, but now I tried to run the plugin in another eclipse client. And there the ScrollPane causes the plugin to freeze the whole client. I'm sure it is the ScrollPane, because if I remove this part of the code (i.e. I add the applet directly to the panel without the ScrollPane), the plugin runs as it should. Does anybody know the problem that causes this freeze?</p>