title: How to make SWT Browser control use Mozilla/Firefox instead of WebKit on Linux(Ubuntu 14)
body: <p>I want to make SWT 4.4.2 browser to use Mozilla on Linux (Ubuntu 14.o4 LTS) whenever I run my application SWT uses webkit. Any idea how to make SWT to use Mozilla?</p>
  
  <p>As an example I am using following code of SWT to open the embedded browser.
  Linux Ubuntu version </p>
  
  <pre class="lang-java prettyprint-override"><code>public class DisplayMozillaVersion {
      public static void main(String[] args) {
          Device.DEBUG = true;
          Display display = new Display();
          Shell shell = new Shell(display);
          System.out.println("&gt;&gt;&gt;Snippet creating SWT.MOZILLA-style Browser");
          try {
              new Browser(shell, SWT.MOZILLA);
              System.out.println("&gt;&gt;&gt;succeeded");
          } catch (Error e) {
              System.out.println("&gt;&gt;&gt;This failed with the following error:");
              e.printStackTrace();
              System.out.println("\n\nSnippet creating SWT.NONE-style Browser");
              try {
                  new Browser(shell, SWT.NONE);
                  System.out.println("&gt;&gt;&gt;succeeded");
              } catch (Error e2) {
                  System.out.println("&gt;&gt;&gt;This failed too, with the following error:");
                  e2.printStackTrace();
              }
          }
          display.dispose();
      }
  }
  </code></pre>
  
  <p>The above code always failed for the Mozilla (<code>SWT.MOZILLA</code>) and gives following errors</p>
  
  <pre>
  No more handles [Browser style SWT.MOZILLA and Java system property org.eclipse.swt.browser.DefaultType=mozilla are not supported with GTK 3 as XULRunner is not ported for GTK 3 yet]
      at org.eclipse.swt.SWT.error(Unknown Source)
      at org.eclipse.swt.browser.MozillaDelegate.(Unknown Source)
      at org.eclipse.swt.browser.Mozilla.create(Unknown Source)
      at org.eclipse.swt.browser.Browser.(Unknown Source)
      at swtbrowserapp.SWTBrowserApp.(SWTBrowserApp.java:72)
      at swtbrowserapp.SWTBrowserApp.main(SWTBrowserApp.java:38)
  </pre>
  
  <p>When I use <code>SWT.NONE</code> it always uses WebKit. What is the way to run the Mozilla as SWT browser on Ubuntu 14.04 LTS?</p>