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));
tool = new UndoableTool(new CreationTool(this, new RoundRectangleFigure()));
palette.add(createToolButton(IMAGES + "RRECT", "Round Rectangle Tool", tool));
tool = new UndoableTool(new CreationTool(this, new EllipseFigure()));
palette.add(createToolButton(IMAGES + "ELLIPSE", "Ellipse Tool", tool));
tool = new UndoableTool(new PolygonTool(this));
palette.add(createToolButton(IMAGES + "POLYGON", "Polygon Tool", tool));
tool = new UndoableTool(new CreationTool(this, new TriangleFigure()));
palette.add(createToolButton(IMAGES + "TRIANGLE", "Triangle Tool", tool));
tool = new UndoableTool(new CreationTool(this, new DiamondFigure()));
palette.add(createToolButton(IMAGES + "DIAMOND", "Diamond Tool", tool));
tool = new UndoableTool(new CreationTool(this, new LineFigure()));
palette.add(createToolButton(IMAGES + "LINE", "Line Tool", tool));
tool = new TextAreaTool(this, new TextAreaFigure());
palette.add(createToolButton(IMAGES + "TEXTAREA", "TextArea Tool", tool));