try {
UIThreadRunner.invokeAndWait(new Runnable() {
@Override
public void run() {
SoftwareUpdateDlg dlg = new SoftwareUpdateDlg(parent, baseUrl,
showOnlyUpdates, mSoftwareUpdateItems);
//dlg.setSoftwareUpdateItems(mSoftwareUpdateItems);
dlg.setLocationRelativeTo(parent);
dlg.setVisible(true);
}
});
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();