显示 busy 光标
eg:
BusyIndicator.showWhile(window.getShell().getDisplay(), new Runnable() {
public void run() {
//do something
sleep(2000);
}
});
使用BusyIndicator
本文介绍如何在Swing或SWT等GUI框架中使用BusyIndicator显示忙光标,通过提供示例代码展示如何在执行长时间任务时改善用户体验。
显示 busy 光标
eg:
BusyIndicator.showWhile(window.getShell().getDisplay(), new Runnable() {
public void run() {
//do something
sleep(2000);
}
});

被折叠的 条评论
为什么被折叠?