X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2FMCview%2FBond.java;h=fd364465bc739882fa54cc0b9baa334a84beee5e;hb=50b9086e7f7ac1832aadf933a1b761949a8a4b73;hp=5f162b0f2393b631a6f6acd9e34bc7c71e8bb149;hpb=8893c2ac9824d4c566ae69c73d34889c5316b058;p=jalview.git diff --git a/src/MCview/Bond.java b/src/MCview/Bond.java index 5f162b0..fd36446 100755 --- a/src/MCview/Bond.java +++ b/src/MCview/Bond.java @@ -1,6 +1,6 @@ /* * Jalview - A Sequence Alignment Editor and Viewer -* Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle +* Copyright (C) 2006 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -24,8 +24,8 @@ import java.awt.*; public class Bond { float[] start; float[] end; - Color startCol; - Color endCol; + Color startCol = Color.lightGray; + Color endCol= Color.lightGray; public Atom at1; public Atom at2; @@ -38,7 +38,7 @@ public class Bond { this.at2 = at2; } - public Bond(Bond bond) { + /* public Bond(Bond bond) { this.start = new float[3]; this.start[0] = bond.start[0]; @@ -63,7 +63,7 @@ public class Bond { len = (float) (Math.sqrt(len)); return len; - } + }*/ public void translate(float x, float y, float z) { start[0] = (start[0] + x);