X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fappletgui%2FFontChooser.java;h=02a7471962ed5d0787b5a8c5803d333038596edf;hb=dc6d9b88b36c704faa61bcd3ed29a9e2f510bc83;hp=db0c16f548bc8e015ec1014cfcd0a76e1fdb1765;hpb=a8ebbc051f65fd1e60fd77c8b99717e682e1f6e5;p=jalview.git diff --git a/src/jalview/appletgui/FontChooser.java b/src/jalview/appletgui/FontChooser.java index db0c16f..02a7471 100755 --- a/src/jalview/appletgui/FontChooser.java +++ b/src/jalview/appletgui/FontChooser.java @@ -1,12 +1,30 @@ +/* + * 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 jalview.appletgui; -import jalview.jbappletgui.GFontChooser; -import jalview.appletgui.*; import java.awt.*; -import java.awt.event.*; +import jalview.jbappletgui.*; -public class FontChooser extends GFontChooser +public class FontChooser + extends GFontChooser { AlignmentPanel ap; Font oldFont; @@ -21,29 +39,35 @@ public class FontChooser extends GFontChooser this.ap = ap; String fonts[] = Toolkit.getDefaultToolkit().getFontList(); - for(int i=0; i