Removed
authoramwaterhouse <Andrew Waterhouse>
Tue, 15 Nov 2005 11:10:38 +0000 (11:10 +0000)
committeramwaterhouse <Andrew Waterhouse>
Tue, 15 Nov 2005 11:10:38 +0000 (11:10 +0000)
src/jalview/jbappletgui/GFinder.java [deleted file]
src/jalview/jbappletgui/GSliderPanel.java [deleted file]

diff --git a/src/jalview/jbappletgui/GFinder.java b/src/jalview/jbappletgui/GFinder.java
deleted file mode 100755 (executable)
index 434c8ea..0000000
+++ /dev/null
@@ -1,111 +0,0 @@
-/*\r
-* Jalview - A Sequence Alignment Editor and Viewer\r
-* Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle\r
-*\r
-* This program is free software; you can redistribute it and/or\r
-* modify it under the terms of the GNU General Public License\r
-* as published by the Free Software Foundation; either version 2\r
-* of the License, or (at your option) any later version.\r
-*\r
-* This program is distributed in the hope that it will be useful,\r
-* but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-* GNU General Public License for more details.\r
-*\r
-* You should have received a copy of the GNU General Public License\r
-* along with this program; if not, write to the Free Software\r
-* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA\r
-*/\r
-package jalview.jbappletgui;\r
-\r
-import java.awt.*;\r
-import java.awt.event.*;\r
-\r
-\r
-public class GFinder extends Panel {\r
-    Label jLabel1 = new Label();\r
-    protected TextField textfield = new TextField();\r
-    protected Button findAll = new Button();\r
-    protected Button findNext = new Button();\r
-    Panel jPanel1 = new Panel();\r
-    GridLayout gridLayout1 = new GridLayout();\r
-    protected Button createNewGroup = new Button();\r
-\r
-    public GFinder() {\r
-        try {\r
-            jbInit();\r
-        } catch (Exception e) {\r
-            e.printStackTrace();\r
-        }\r
-    }\r
-\r
-    private void jbInit() throws Exception {\r
-        jLabel1.setFont(new java.awt.Font("Verdana", 0, 12));\r
-        jLabel1.setText("Find");\r
-        jLabel1.setBounds(new Rectangle(3, 30, 34, 15));\r
-        this.setLayout(null);\r
-        textfield.setFont(new java.awt.Font("Verdana", Font.PLAIN, 10));\r
-        textfield.setText("");\r
-        textfield.setBounds(new Rectangle(40, 27, 133, 21));\r
-        textfield.addKeyListener(new java.awt.event.KeyAdapter() {\r
-                public void keyTyped(KeyEvent e) {\r
-                    textfield_keyTyped(e);\r
-                }\r
-            });\r
-        textfield.addActionListener(new java.awt.event.ActionListener() {\r
-                public void actionPerformed(ActionEvent e) {\r
-                    textfield_actionPerformed(e);\r
-                }\r
-            });\r
-        findAll.setFont(new java.awt.Font("Verdana", Font.PLAIN, 10));\r
-        findAll.setLabel("Find all");\r
-        findAll.addActionListener(new java.awt.event.ActionListener() {\r
-                public void actionPerformed(ActionEvent e) {\r
-                    findAll_actionPerformed(e);\r
-                }\r
-            });\r
-        findNext.setEnabled(false);\r
-        findNext.setFont(new java.awt.Font("Verdana", Font.PLAIN, 10));\r
-        findNext.setLabel("Find Next");\r
-        findNext.addActionListener(new java.awt.event.ActionListener() {\r
-                public void actionPerformed(ActionEvent e) {\r
-                    findNext_actionPerformed(e);\r
-                }\r
-            });\r
-        jPanel1.setBounds(new Rectangle(180, 5, 141, 64));\r
-        jPanel1.setLayout(gridLayout1);\r
-        gridLayout1.setHgap(0);\r
-        gridLayout1.setRows(3);\r
-        gridLayout1.setVgap(2);\r
-        createNewGroup.setEnabled(false);\r
-        createNewGroup.setFont(new java.awt.Font("Verdana", Font.PLAIN, 10));\r
-        createNewGroup.setLabel("Create new group");\r
-        createNewGroup.addActionListener(new java.awt.event.ActionListener() {\r
-                public void actionPerformed(ActionEvent e) {\r
-                    createNewGroup_actionPerformed(e);\r
-                }\r
-            });\r
-        jPanel1.add(findNext, null);\r
-        jPanel1.add(findAll, null);\r
-        jPanel1.add(createNewGroup, null);\r
-        this.add(textfield, null);\r
-        this.add(jLabel1, null);\r
-        this.add(jPanel1, null);\r
-    }\r
-\r
-    protected void findNext_actionPerformed(ActionEvent e) {\r
-    }\r
-\r
-    protected void findAll_actionPerformed(ActionEvent e) {\r
-    }\r
-\r
-    protected void textfield_actionPerformed(ActionEvent e) {\r
-    }\r
-\r
-    void textfield_keyTyped(KeyEvent e) {\r
-        findNext.setEnabled(true);\r
-    }\r
-\r
-    public void createNewGroup_actionPerformed(ActionEvent e) {\r
-    }\r
-}\r
diff --git a/src/jalview/jbappletgui/GSliderPanel.java b/src/jalview/jbappletgui/GSliderPanel.java
deleted file mode 100755 (executable)
index 5e33300..0000000
+++ /dev/null
@@ -1,115 +0,0 @@
-/*\r
-* Jalview - A Sequence Alignment Editor and Viewer\r
-* Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle\r
-*\r
-* This program is free software; you can redistribute it and/or\r
-* modify it under the terms of the GNU General Public License\r
-* as published by the Free Software Foundation; either version 2\r
-* of the License, or (at your option) any later version.\r
-*\r
-* This program is distributed in the hope that it will be useful,\r
-* but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-* GNU General Public License for more details.\r
-*\r
-* You should have received a copy of the GNU General Public License\r
-* along with this program; if not, write to the Free Software\r
-* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA\r
-*/\r
-package jalview.jbappletgui;\r
-\r
-import java.awt.*;\r
-import java.awt.event.*;\r
-\r
-\r
-public class GSliderPanel extends Panel {\r
-    // this is used for conservation colours, PID colours and redundancy threshold\r
-    protected Scrollbar slider = new Scrollbar();\r
-    protected TextField valueField = new TextField();\r
-    protected Label label = new Label();\r
-    Panel jPanel1 = new Panel();\r
-    Panel jPanel2 = new Panel();\r
-    protected Button applyButton = new Button();\r
-    protected Button undoButton = new Button();\r
-    FlowLayout flowLayout1 = new FlowLayout();\r
-    protected Checkbox allGroupsCheck = new Checkbox();\r
-    BorderLayout borderLayout1 = new BorderLayout();\r
-    BorderLayout borderLayout2 = new BorderLayout();\r
-    FlowLayout flowLayout2 = new FlowLayout();\r
-\r
-    public GSliderPanel() {\r
-        try {\r
-            jbInit();\r
-        } catch (Exception e) {\r
-            e.printStackTrace();\r
-        }\r
-    }\r
-\r
-    private void jbInit() throws Exception {\r
-        this.setLayout(borderLayout2);\r
-\r
-        // slider.setMajorTickSpacing(10);\r
-        //  slider.setMinorTickSpacing(1);\r
-        //  slider.setPaintTicks(true);\r
-        slider.setBackground(Color.white);\r
-        slider.setFont(new java.awt.Font("Verdana", 0, 11));\r
-        slider.setOrientation(0);\r
-        valueField.setFont(new java.awt.Font("Verdana", 0, 11));\r
-        valueField.setText("      ");\r
-        valueField.addActionListener(new java.awt.event.ActionListener() {\r
-                public void actionPerformed(ActionEvent e) {\r
-                    valueField_actionPerformed(e);\r
-                }\r
-            });\r
-        label.setFont(new java.awt.Font("Verdana", 0, 11));\r
-        label.setText("set this label text");\r
-        jPanel1.setLayout(borderLayout1);\r
-        jPanel2.setLayout(flowLayout1);\r
-        applyButton.setFont(new java.awt.Font("Verdana", 0, 11));\r
-        applyButton.setLabel("Apply");\r
-        applyButton.addActionListener(new java.awt.event.ActionListener() {\r
-                public void actionPerformed(ActionEvent e) {\r
-                    applyButton_actionPerformed(e);\r
-                }\r
-            });\r
-        undoButton.setEnabled(false);\r
-        undoButton.setFont(new java.awt.Font("Verdana", 0, 11));\r
-        undoButton.setLabel("Undo");\r
-        undoButton.addActionListener(new java.awt.event.ActionListener() {\r
-                public void actionPerformed(ActionEvent e) {\r
-                    undoButton_actionPerformed(e);\r
-                }\r
-            });\r
-        allGroupsCheck.setEnabled(false);\r
-        allGroupsCheck.setFont(new java.awt.Font("Verdana", 0, 11));\r
-        allGroupsCheck.setLabel("Apply threshold to all groups");\r
-        allGroupsCheck.setName("Apply to all Groups");\r
-        allGroupsCheck.addItemListener(new java.awt.event.ItemListener() {\r
-                public void itemStateChanged(ItemEvent e) {\r
-                    allGroupsCheck_actionPerformed();\r
-                }\r
-            });\r
-        this.setBackground(Color.white);\r
-        this.setForeground(Color.black);\r
-        jPanel2.add(label, null);\r
-        jPanel2.add(applyButton, null);\r
-        jPanel2.add(undoButton, null);\r
-        jPanel2.add(allGroupsCheck);\r
-        jPanel1.add(valueField, java.awt.BorderLayout.EAST);\r
-        jPanel1.add(slider, java.awt.BorderLayout.CENTER);\r
-        this.add(jPanel1, java.awt.BorderLayout.SOUTH);\r
-        this.add(jPanel2, java.awt.BorderLayout.CENTER);\r
-    }\r
-\r
-    protected void valueField_actionPerformed(ActionEvent e) {\r
-    }\r
-\r
-    protected void applyButton_actionPerformed(ActionEvent e) {\r
-    }\r
-\r
-    protected void undoButton_actionPerformed(ActionEvent e) {\r
-    }\r
-\r
-    protected void allGroupsCheck_actionPerformed() {\r
-    }\r
-}\r