Пример #1
0
 public void destroyApp(boolean unconditional) {
   try {
     serializator.serialize(ID_CANVAS, canvas);
   } catch (Exception ex) {
     ex.printStackTrace();
   }
 }
Пример #2
0
  public void showCanvas(String name, String content, String intro, Vector detailsVector)
      throws Exception {

    serializator.deserialize(ID_CANVAS, canvas);
    display.setCurrent(canvas);
    canvas.setItem(name, content, intro, detailsVector);
    canvas.repaint();
  }
Пример #3
0
 public void displayMain(IConfigurable configurable) {
   if (configurable.equals(canvas)) {
     try {
       serializator.serialize(ID_CANVAS, canvas);
     } catch (Exception ex) {
       ex.printStackTrace();
     }
   }
   displayMain();
 }