X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fjbgui%2FGCutAndPasteTransfer.java;h=c3107043412b4dc11cd68989cf3e9d3d29bc84d6;hb=865a855a4ca87eadb3e5ff284ed32ed307d9c34b;hp=122e100ce87a23d2fa952b9ab1504a8bba185045;hpb=2de8acfae59aced665e4c37ad0f7dcc2ed68818e;p=jalview.git diff --git a/src/jalview/jbgui/GCutAndPasteTransfer.java b/src/jalview/jbgui/GCutAndPasteTransfer.java index 122e100..c310704 100755 --- a/src/jalview/jbgui/GCutAndPasteTransfer.java +++ b/src/jalview/jbgui/GCutAndPasteTransfer.java @@ -1,23 +1,25 @@ /* - * 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.8.0b1) + * Copyright (C) 2014 The Jalview Authors * - * 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. + * + * 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 this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + * 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.jbgui; +import jalview.gui.JvSwingUtils; + import java.awt.*; import java.awt.event.*; import javax.swing.*; @@ -77,12 +79,12 @@ public class GCutAndPasteTransfer extends JInternalFrame * DOCUMENT ME! * * @throws Exception - * DOCUMENT ME! + * DOCUMENT ME! */ private void jbInit() throws Exception { scrollPane.setBorder(null); - ok.setFont(new java.awt.Font("Verdana", Font.PLAIN, 11)); + ok.setFont(JvSwingUtils.getLabelFont()); ok.setText("New Window"); ok.addActionListener(new ActionListener() { @@ -173,7 +175,7 @@ public class GCutAndPasteTransfer extends JInternalFrame * DOCUMENT ME! * * @param e - * DOCUMENT ME! + * DOCUMENT ME! */ public void textarea_mousePressed(MouseEvent e) { @@ -184,7 +186,7 @@ public class GCutAndPasteTransfer extends JInternalFrame * DOCUMENT ME! * * @param e - * DOCUMENT ME! + * DOCUMENT ME! */ public void copyItem_actionPerformed(ActionEvent e) { @@ -194,7 +196,7 @@ public class GCutAndPasteTransfer extends JInternalFrame * DOCUMENT ME! * * @param e - * DOCUMENT ME! + * DOCUMENT ME! */ public void pasteMenu_actionPerformed(ActionEvent e) { @@ -204,7 +206,7 @@ public class GCutAndPasteTransfer extends JInternalFrame * DOCUMENT ME! * * @param e - * DOCUMENT ME! + * DOCUMENT ME! */ public void ok_actionPerformed(ActionEvent e) { @@ -214,7 +216,7 @@ public class GCutAndPasteTransfer extends JInternalFrame * DOCUMENT ME! * * @param e - * DOCUMENT ME! + * DOCUMENT ME! */ public void cancel_actionPerformed(ActionEvent e) {