第一段:
if (!"".equals(windowNo)) {
setWindowNo(windowNo);
Display.getDefault().asyncExec(new Runnable() {
public void run() {
licenseKeyAlertDialog = new LicenseKeyAlertDialog(AplMain
.getActiveWorkbenchShell(), windowNo,
lisenceKeyInfo.getExpirationDays());
}
});
Display.getDefault().asyncExec(new Runnable() {
public void run() {
licenseKeyAlertDialog.open();
}
});
}
第二段:
if (!"".equals(windowNo)) {
setWindowNo(windowNo);
Display.getDefault().asyncExec(new Runnable() {
public void run() {
licenseKeyAlertDialog = new LicenseKeyAlertDialog(AplMain
.getActiveWorkbenchShell(), windowNo,
lisenceKeyInfo.getExpirationDays());
licenseKeyAlertDialog.open();
}
});
}
请指教,谢谢!
慕的地8271018
Cats萌萌
慕姐4208626
UYOU
相关分类