1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
| @Override
protected void shutdown() {
try {
getContext().getSessionStorage().save(tesst1View.JComboBox1, sessionFile);
getContext().getSessionStorage().save(tesst1View .getFrame(), sessionFile);
} catch (IOException e) {
}
}
@Override
protected void startup() {
tesst1View = new Tesst1View(this);
try {
getContext().getSessionStorage().restore(tesst1View.getFrame(), sessionFile);
getContext().getSessionStorage().putProperty(javax.swing.JComboBox.class, new ComboBoxProperty());
} catch (IOException e) {
}
show(tesst1View);
} |
Partager