Examples of OvalDrawingTool


Examples of net.sf.arianne.marboard.client.gui.drawingtool.OvalDrawingTool

    // create buttons for the drawing tools
    toolBar.add(createAction(state, "arrow.gif", new ShapePickerDrawingTool(mainWindow.getDrawingArea())));
    toolBar.add(createAction(state, "dot.png", new DotDrawingTool()));
    toolBar.add(createAction(state, "line.png", new StraightLineDrawingTool(mainWindow.getDrawingArea())));
    toolBar.add(createAction(state, "rectangle.png", new RectangleDrawingTool(mainWindow.getDrawingArea())));
    toolBar.add(createAction(state, "circle.png", new OvalDrawingTool(mainWindow.getDrawingArea())));
    toolBar.add(new JToolBar.Separator());

    // create a color chooser button
    AbstractColorChooserButton colorButton = new ColorChooserButton(state);
    state.register(colorButton);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.