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();
}
});
}
});
}
}
——————————————————————————————————
傲轩游戏网
傲轩游戏网