private static URI backgroundImage;
public IndeterminateLoadingSplash2() {
addListener(new Listener() {
@Override public void handleError(LoadingTask task) {
MessageBox alert = new MessageBox(new Shell(), SWT.ERROR);
alert.setMessage("Unable to execute loading tasks...");
alert.setText(task.getError().getMessage()+"\n\n"+task.getError());
alert.open();
}
@Override public void handleSuccess() {
splash.getDisplay().syncExec(new Runnable() {
public void run() {
splash.close();