SWT in dialog

Hello,

   Did anyone succeeded with showing SWT widgets in the dialogs/views? I tried to follow this snippet: https://gist.github.com/r10r/2305091 It works well standalone, but not in a view (in the view I executed connect on a new thread after a sleep interval, but no result is visible even if the view is resized). Do you have an idea how can this be solved?

Thanks, gabor