public class Install extends MouduleInstall {
@Override
public void restored() {
SwingUtilities.invokeLater(new Runnable() {
public void run() {
WindowManager.getDefault().getMainWindow().addWindowListener(new WindowAdapter() {
public void windowOpened(WindowEvent e) {
// LifecycleManager.getDefault().exit();
}
});
}
});
}
}
@Override
public void restored() {
SwingUtilities.invokeLater(new Runnable() {
public void run() {
WindowManager.getDefault().getMainWindow().addWindowListener(new WindowAdapter() {
public void windowOpened(WindowEvent e) {
// LifecycleManager.getDefault().exit();
}
});
}
});
}
}