X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fappletgui%2FSeqCanvas.java;h=58e6caa5844a0ef709ee950e5f388b2959bf8477;hb=e5440b9f56f5183796ab68d5d4b40cb3c349865d;hp=c7a82326607d81b6e4ffdf6fee738fa46f6080d0;hpb=b81d4d7d46ea8b1c89df086fb847baab6b69d427;p=jalview.git diff --git a/src/jalview/appletgui/SeqCanvas.java b/src/jalview/appletgui/SeqCanvas.java index c7a8232..58e6caa 100755 --- a/src/jalview/appletgui/SeqCanvas.java +++ b/src/jalview/appletgui/SeqCanvas.java @@ -1,19 +1,20 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7) - * Copyright (C) 2011 J Procter, AM Waterhouse, J Engelhardt, LM Lui, G Barton, M Clamp, S Searle + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.0b1) + * Copyright (C) 2014 The Jalview Authors * * This file is part of Jalview. * * Jalview 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 3 of the License, or (at your option) any later version. - * + * * Jalview 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 Jalview. If not, see . + * The Jalview Authors are detailed in the 'AUTHORS' file. */ package jalview.appletgui; @@ -348,7 +349,7 @@ public class SeqCanvas extends Panel String mask = "0"; int maxWidth = 0; int tmp; - AlignmentI alignment=av.getAlignment(); + AlignmentI alignment = av.getAlignment(); for (int i = 0; i < alignment.getHeight(); i++) { tmp = alignment.getSequenceAt(i).getEnd(); @@ -675,7 +676,8 @@ public class SeqCanvas extends Panel { if ((bottom == -1) && (i >= alHeight || !group.getSequences(null) - .contains(av.getAlignment().getSequenceAt(i + 1)))) + .contains( + av.getAlignment().getSequenceAt(i + 1)))) { bottom = sy + av.charHeight; } @@ -799,8 +801,8 @@ public class SeqCanvas extends Panel break; } - group = (SequenceGroup) av.getAlignment().getGroups().get( - groupIndex); + group = (SequenceGroup) av.getAlignment().getGroups() + .get(groupIndex); } while (groupIndex < av.getAlignment().getGroups().size()); }