diff --git a/projects/samskivert/src/java/com/samskivert/swing/util/SwingUtil.java b/projects/samskivert/src/java/com/samskivert/swing/util/SwingUtil.java index 1ec6cae9..2b4644b3 100644 --- a/projects/samskivert/src/java/com/samskivert/swing/util/SwingUtil.java +++ b/projects/samskivert/src/java/com/samskivert/swing/util/SwingUtil.java @@ -1,5 +1,5 @@ // -// $Id: SwingUtil.java,v 1.24 2003/06/02 17:45:35 mdb Exp $ +// $Id: SwingUtil.java,v 1.25 2003/10/09 21:15:14 ray Exp $ // // samskivert library - useful routines for java programs // Copyright (C) 2001 Michael Bayne @@ -246,26 +246,6 @@ public class SwingUtil }; } - /** - * Return a polygon representing the rectangle defined by the - * specified upper left coordinate and the supplied dimensions. - * - * @param x the left edge of the rectangle. - * @param y the top of the rectangle. - * @param d the rectangle's dimensions. - * - * @return the bounding polygon. - */ - public static Polygon getPolygon (int x, int y, Dimension d) - { - Polygon poly = new Polygon(); - poly.addPoint(x, y); - poly.addPoint(x + d.width, y); - poly.addPoint(x + d.width, y + d.height); - poly.addPoint(x, y + d.height); - return poly; - } - /** * Enables (or disables) the specified component, and all of its * children. A simple call to {@link Container#setEnabled}