예제 #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();
 }