return drawing;
}
protected void createTools(JToolBar palette) {
super.createTools(palette);
Tool tool = new UndoableTool(new TextTool(this, new TextFigure()));
palette.add(createToolButton(IMAGES + "TEXT", "Text Tool", tool));
tool = new UndoableTool(new CreationTool(this, new RectangleFigure()));
palette.add(createToolButton(IMAGES + "RECT", "Rectangle Tool", tool));