X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fgui%2FFontChooser.java;h=310361a8671986324623d83d792afb6498699553;hb=797df64fa2a0a30773d0f48f5494d4155e5a8be3;hp=afd2d625cddc22154aef5ea68c4b7c6f7174c8bc;hpb=2de8acfae59aced665e4c37ad0f7dcc2ed68818e;p=jalview.git diff --git a/src/jalview/gui/FontChooser.java b/src/jalview/gui/FontChooser.java index afd2d62..310361a 100755 --- a/src/jalview/gui/FontChooser.java +++ b/src/jalview/gui/FontChooser.java @@ -1,20 +1,19 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Development Version 2.4.1) - * Copyright (C) 2009 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle + * 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 * - * 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 file is part of Jalview. * - * 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. + * 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. * - * 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 + * 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 . */ package jalview.gui; @@ -47,7 +46,7 @@ public class FontChooser extends GFontChooser * Creates a new FontChooser object. * * @param ap - * DOCUMENT ME! + * DOCUMENT ME! */ public FontChooser(TreePanel tp) { @@ -63,7 +62,7 @@ public class FontChooser extends GFontChooser * Creates a new FontChooser object. * * @param ap - * DOCUMENT ME! + * DOCUMENT ME! */ public FontChooser(AlignmentPanel ap) { @@ -131,7 +130,7 @@ public class FontChooser extends GFontChooser * DOCUMENT ME! * * @param e - * DOCUMENT ME! + * DOCUMENT ME! */ protected void ok_actionPerformed(ActionEvent e) { @@ -155,7 +154,7 @@ public class FontChooser extends GFontChooser * DOCUMENT ME! * * @param e - * DOCUMENT ME! + * DOCUMENT ME! */ protected void cancel_actionPerformed(ActionEvent e) { @@ -210,7 +209,7 @@ public class FontChooser extends GFontChooser * DOCUMENT ME! * * @param e - * DOCUMENT ME! + * DOCUMENT ME! */ protected void fontName_actionPerformed(ActionEvent e) { @@ -226,7 +225,7 @@ public class FontChooser extends GFontChooser * DOCUMENT ME! * * @param e - * DOCUMENT ME! + * DOCUMENT ME! */ protected void fontSize_actionPerformed(ActionEvent e) { @@ -242,7 +241,7 @@ public class FontChooser extends GFontChooser * DOCUMENT ME! * * @param e - * DOCUMENT ME! + * DOCUMENT ME! */ protected void fontStyle_actionPerformed(ActionEvent e) { @@ -258,14 +257,14 @@ public class FontChooser extends GFontChooser * DOCUMENT ME! * * @param e - * DOCUMENT ME! + * DOCUMENT ME! */ public void defaultButton_actionPerformed(ActionEvent e) { Cache.setProperty("FONT_NAME", fontName.getSelectedItem().toString()); Cache.setProperty("FONT_STYLE", fontStyle.getSelectedIndex() + ""); Cache.setProperty("FONT_SIZE", fontSize.getSelectedItem().toString()); - Cache.setProperty("ANTI_ALIAS", Boolean.toString(smoothFont - .isSelected())); + Cache.setProperty("ANTI_ALIAS", + Boolean.toString(smoothFont.isSelected())); } }