62,615
社区成员
发帖
与我相关
我的任务
分享
// 执行刷新
setCursor(new Cursor(Cursor.WAIT_CURSOR));
Runnable dealRun = new Runnable() {
public void run() {
try {
_dealLocalRefresh();
} finally {
setCursor(new Cursor(Cursor.DEFAULT_CURSOR));
}
}
};
// 构造WaitDlg
com.utstar.osn.client.longtask.WaitingDialogWithTimer waitDlg = null;
if (window instanceof Dialog) {
waitDlg = new com.utstar.osn.client.longtask.WaitingDialogWithTimer(
(Dialog) window, dealRun);
} else {
waitDlg = new com.utstar.osn.client.longtask.WaitingDialogWithTimer(
(Frame) window, dealRun);
}
waitDlg.show();