2,2c2,2 < * @(#)JavaDrawApplet.java 5.2 --- > * @(#)JavaDrawApplet.java 3a4,9 > * Project: JHotdraw - a GUI framework for technical drawings > * http://www.jhotdraw.org > * http://jhotdraw.sourceforge.net > * Copyright: © by the original author(s) and all contributors > * License: Lesser GNU Public License (LGPL) > * http://www.opensource.org/licenses/lgpl-license.html 8,8c21,21 < import javax.swing.*; --- > import javax.swing.*; 9,9c22,22 < import java.applet.Applet; --- > import java.applet.Applet; 10,10c23,23 < import java.awt.event.*; --- > import java.awt.event.*; 11,11c24,24 < import java.util.*; --- > import java.util.*; 12,12c25,25 < import java.io.*; --- > import java.io.*; 13,13c26,26 < import java.net.*; --- > import java.net.*; 14,14d26 < 22a28,30 > /** > * @version <$CURRENT_VERSION$> > */ 57a66,74 > tool = new PolygonTool(view()); > palette.add(createToolButton(IMAGES + "POLYGON", "Polygon Tool", tool)); > > tool = new CreationTool(view(), new TriangleFigure()); > palette.add(createToolButton(IMAGES + "TRIANGLE", "Triangle Tool", tool)); > > tool = new CreationTool(view(), new DiamondFigure()); > palette.add(createToolButton(IMAGES + "DIAMOND", "Diamond Tool", tool)); >