2c2 < * @(#)ElbowHandle.java 5.2 --- > * @(#)ElbowHandle.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$> 44c52,53 < } else { --- > } > else { 79,80c88,89 < Figure startFigure = line.start().owner(); < Figure endFigure = line.end().owner(); --- > Figure startFigure = line.getStartConnector().owner(); > Figure endFigure = line.getEndConnector().owner(); 93c102 < if (fSegment == 0) --- > if (fSegment == 0) { 95c104,105 < if (fSegment == line.pointCount()-2) --- > } > if (fSegment == line.pointCount()-2) { 96a107 > } 102,103c113,114 < Figure startFigure = line.start().owner(); < Figure endFigure = line.end().owner(); --- > Figure startFigure = line.getStartConnector().owner(); > Figure endFigure = line.getEndConnector().owner(); 115c126 < if (fSegment == 0) --- > if (fSegment == 0) { 117c128,129 < if (fSegment == line.pointCount()-2) --- > } > if (fSegment == line.pointCount()-2) { 118a131 > } 125d137 <