How to contribute a feature or a bug fix to SWT
Set up your Java environment:
- Download and install a Java JRE (SWT requires a 1.8.x JRE).
- Download and install the Latest release or the latest Stable build.
- Setup SWT from GIT.
Make sure to load
org.eclipse.swt plus any swt fragment you need (for example,
- Click on any Snippet or Example, and select Run As>Java
Application. You can modify any of the existing snippets or make your own in order to try to reproduce the issue.
- Once the issue is reproducible, inspect the SWT source code to see if you can locate/fix the issue.
- When you have a patch that is ready for review, you should submit the patch to gerrit for review. You have to configure your Git repo to push to Gerrit.
For more information and steps, please see Gerrit wiki page.
page contains many links
and resources that are useful for understanding SWT. Some of these are:
Understand open source:
Find the Operating System doc: