2c2 < * @(#)GroupFigure.java 5.2 --- > * @(#)GroupFigure.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 14a21,22 > * > * @version <$CURRENT_VERSION$> 36,37c44,45 < FigureEnumeration k = figures(); < Rectangle r = k.nextFigure().displayBox(); --- > FigureEnumeration fe = figures(); > Rectangle r = fe.nextFigure().displayBox(); 39,40c47,49 < while (k.hasMoreElements()) < r.add(k.nextFigure().displayBox()); --- > while (fe.hasMoreElements()) { > r.add(fe.nextFigure().displayBox()); > } 71c80 < while (k.hasMoreElements()) --- > while (k.hasMoreElements()) { 74a84 > }