Runnable runnable = new Runnable() {
public void run() {
// code to execute
}
};
org.eclipse.swt.custom.BusyIndicator.showWhile(null, runnable);
public void run() {
// code to execute
}
};
org.eclipse.swt.custom.BusyIndicator.showWhile(null, runnable);
http://dev.eclipse.org/newslists/news.eclipse.tools/msg40810.html