return ;
}
setWindowStatus(WindowStatus.CONNECTING);
new JMThread(new JMRunnable() {
public void JMRun() {
SWTThread.getDisplay().asyncExec(new JMRunnable() {
public void JMRun() {
setWindowStatus(WindowStatus.CONNECTING);
}});
try {
updater.checkForUpdates();
}catch(JMUpdaterException e) {
SWTThread.getDisplay().asyncExec(new JMRunnable() {
public void JMRun() {
Utils.showWarningMessage(shell, _._("updaterwindow.connect_failed_title"), _._("updaterwindow.connect_failed")+"\n"+updater.getErrorCode());
setWindowStatus(WindowStatus.FAILED);
}});
return ;
}
SWTThread.getDisplay().asyncExec(new JMRunnable() {
public void JMRun() {
setWindowStatus(WindowStatus.CONNECTED);
}});
}
}).start();