2c2 < * @(#)ChopBoxConnector.java 5.2 --- > * @(#)ChopBoxConnector.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 15a22 > * 16a24,25 > * > * @version <$CURRENT_VERSION$> 33,34c42,43 < Figure startFigure = connection.start().owner(); < Rectangle r2 = connection.end().displayBox(); --- > Figure startFigure = connection.getStartConnector().owner(); > Rectangle r2 = connection.getEndConnector().displayBox(); 37c46 < if (connection.pointCount() == 2) --- > if (connection.pointCount() == 2) { 39c48,49 < else --- > } > else { 40a51 > } 46,47c57,58 < Figure endFigure = connection.end().owner(); < Rectangle r1 = connection.start().displayBox(); --- > Figure endFigure = connection.getEndConnector().owner(); > Rectangle r1 = connection.getStartConnector().displayBox(); 50c61 < if (connection.pointCount() == 2) --- > if (connection.pointCount() == 2) { 52c63,64 < else --- > } > else { 53a66 > }