public void destroyApp(boolean unconditional) { try { serializator.serialize(ID_CANVAS, canvas); } catch (Exception ex) { ex.printStackTrace(); } }
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(); }
public void displayMain(IConfigurable configurable) { if (configurable.equals(canvas)) { try { serializator.serialize(ID_CANVAS, canvas); } catch (Exception ex) { ex.printStackTrace(); } } displayMain(); }