title: SWT widget into Swing
body: <p>I have a simple JFrame and a JPanel inside it.</p>
  
  <pre><code>public class TestPanel extends JFrame {
  
      private JPanel contentPane;
  
      /**
       * Launch the application.
       */
      public static void main(String[] args) {
          EventQueue.invokeLater(new Runnable() {
              public void run() {
                  try {
                      TestPanel frame = new TestPanel();
                      frame.setVisible(true);
                  } catch (Exception e) {
                      e.printStackTrace();
                  }
              }
          });
      }
  
      /**
       * Create the frame.
       */
      public TestPanel() {
          setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          setBounds(100, 100, 450, 300);
          contentPane = new JPanel();
          contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
          setContentPane(contentPane);
          contentPane.setLayout(new BorderLayout(0, 0));
  
          JPanel panel = new JPanel();
          contentPane.add(panel, BorderLayout.CENTER);
      }
  
  }
  </code></pre>
  
  <p>And I have an SWT widget (Nebula Gantt Chart). -->
  <a href="http://hexapixel.com/software/ganttwidget" rel="nofollow">http://hexapixel.com/software/ganttwidget</a></p>
  
  <p>I would like to add this SWT widget to the JPanel, actually embed it.</p>
  
  <p>What are the possible ways to do it? Thank you for help! :-)</p>