2c2 < * @(#)ImageFigure.java 5.2 --- > * @(#)ImageFigure.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 18a25 > * 19a27,28 > * > * @version <$CURRENT_VERSION$> 71c80 < if (fImage == null) --- > if (fImage == null) { 73c82,83 < if (fImage != null) --- > } > if (fImage != null) { 75c85,86 < else --- > } > else { 77a89 > } 90c102 < if (listener() != null) --- > if (listener() != null) { 92a105 > } 96a110,118 > * Releases a figure's resources. Release is called when > * a figure is removed from a drawing. Informs the listeners that > * the figure is removed by calling figureRemoved. > */ > public void release() { > fImage.flush(); > } > > /**