public void makeBond(Symbol startSymbol, Symbol endSymbol, Symbol.Stroke strokeType) { diagram.makeBond(startSymbol, endSymbol, strokeType); diagram.unselectAllBackboneSymbols(); this.repaint(); }