Shell shell = new Shell(Display.getDefault(), SWT.SHELL_TRIM);
ExternalFileLauncherLink inst = new ExternalFileLauncherLink(shell, SWT.NONE);
inst.configure(ExternalFileLauncherLink.class.getClassLoader().getResource("images/indetermLoadingSplash.gif").getFile(), "indetermLoadingSplash.gif", "gif");
inst.initialize();
shell.setBounds(100, 100, 200, 50);
shell.open();
while(!shell.isDisposed()) {
if(Display.getDefault().readAndDispatch())
Display.getDefault().sleep();
}
}