X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fjbgui%2FGSequenceLink.java;h=e9cfe4ba2152bfcf591b51854f5fc0bea8dafb04;hb=7384a101e11711490956c31fcff4efb556d21c69;hp=8fbc2d60d99253ecb01657e02723f771a71d1c23;hpb=2de8acfae59aced665e4c37ad0f7dcc2ed68818e;p=jalview.git diff --git a/src/jalview/jbgui/GSequenceLink.java b/src/jalview/jbgui/GSequenceLink.java index 8fbc2d6..e9cfe4b 100755 --- a/src/jalview/jbgui/GSequenceLink.java +++ b/src/jalview/jbgui/GSequenceLink.java @@ -1,23 +1,23 @@ /* - * 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.6) + * Copyright (C) 2010 J Procter, AM Waterhouse, 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.jbgui; +import jalview.gui.JvSwingUtils; import jalview.util.UrlLink; import java.awt.*; @@ -40,7 +40,7 @@ public class GSequenceLink extends Panel private void jbInit() throws Exception { this.setLayout(gridBagLayout1); - nameTB.setFont(new java.awt.Font("Verdana", Font.PLAIN, 11)); + nameTB.setFont(JvSwingUtils.getLabelFont()); nameTB.setBounds(new Rectangle(77, 10, 310, 23)); nameTB.addKeyListener(new KeyAdapter() { @@ -49,7 +49,7 @@ public class GSequenceLink extends Panel nameTB_keyTyped(e); } }); - urlTB.setFont(new java.awt.Font("Verdana", Font.PLAIN, 11)); + urlTB.setFont(JvSwingUtils.getLabelFont()); urlTB.setText("http://www."); urlTB.setBounds(new Rectangle(78, 40, 309, 23)); urlTB.addKeyListener(new KeyAdapter() @@ -59,11 +59,11 @@ public class GSequenceLink extends Panel urlTB_keyTyped(e); } }); - jLabel1.setFont(new java.awt.Font("Verdana", Font.PLAIN, 11)); + jLabel1.setFont(JvSwingUtils.getLabelFont()); jLabel1.setHorizontalAlignment(SwingConstants.TRAILING); jLabel1.setText("Link Name"); jLabel1.setBounds(new Rectangle(4, 10, 71, 24)); - jLabel2.setFont(new java.awt.Font("Verdana", Font.PLAIN, 11)); + jLabel2.setFont(JvSwingUtils.getLabelFont()); jLabel2.setHorizontalAlignment(SwingConstants.TRAILING); jLabel2.setText("URL"); jLabel2.setBounds(new Rectangle(17, 37, 54, 27));