X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2FMCview%2FPDBfile.java;h=2b22b249395e67dfd6154b68aa1884c566bcfb84;hb=5b9d104db221e9796918183ca901012bd5a31695;hp=7e46b2e2d91a5aee70e688e0f861d6f510cf99ba;hpb=22be3f466cd70cb03d5eae619ede8589ae69716a;p=jalview.git diff --git a/src/MCview/PDBfile.java b/src/MCview/PDBfile.java index 7e46b2e..2b22b24 100755 --- a/src/MCview/PDBfile.java +++ b/src/MCview/PDBfile.java @@ -1,144 +1,154 @@ +/* +* Jalview - A Sequence Alignment Editor and Viewer +* Copyright (C) 2005 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 +* as published by the Free Software Foundation; either version 2 +* of the License, or (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program; if not, write to the Free Software +* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA +*/ package MCview; -import jalview.gui.*; import java.io.*; + import java.net.*; + import java.util.*; +import java.awt.Color; public class PDBfile extends jalview.io.FileParse { + public Vector chains = new Vector(); + Vector lineArray = new Vector(); + String id; - public Vector chains = new Vector(); + public PDBfile(String[] lines) { + for (int i = 0; i < lines.length; i++) + lineArray.addElement(lines[i]); - Vector lineArray = new Vector(); - - public PDBfile(String [] lines) - { - for(int i=0; i