Example 3 created, and refactored all GUI classes to use Display.getDefault() so that only one instance of Display is created by SWT.