Package CH.ifa.draw.framework

Examples of CH.ifa.draw.framework.Tool


      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));
View Full Code Here

TOP

Related Classes of CH.ifa.draw.framework.Tool

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.