Shell shell = new Shell();
try {
URL url = SportSync.class.getResource(SportSync.class.getSimpleName() + IConstants.XWT_EXTENSION_SUFFIX);
Control control = XWT.load(url);
shell = control.getShell();
shell.layout();
centerInDisplay(shell);
// run events loop
Image logo512 = new Image(shell.getDisplay(), SportSync.class.getResourceAsStream("sportsync512.png"));
Image logo256 = new Image(shell.getDisplay(), SportSync.class.getResourceAsStream("sportsync256.png"));
Image logo48 = new Image(shell.getDisplay(), SportSync.class.getResourceAsStream("sportsync48.png"));