From b9a694381ff99544326d53d089a0b8aaeb78724a Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Mon, 2 Apr 2007 12:52:40 +0000 Subject: [PATCH] New seq feature name not added here --- src/jalview/gui/Finder.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/jalview/gui/Finder.java b/src/jalview/gui/Finder.java index fcac4d2..5366b37 100755 --- a/src/jalview/gui/Finder.java +++ b/src/jalview/gui/Finder.java @@ -109,12 +109,6 @@ public class Finder */ public void createNewGroup_actionPerformed(ActionEvent e) { - JLabel label = new JLabel("Enter name of new sequence feature"); - JTextField textinput = new JTextField(textfield.getText()); - JPanel panel = new JPanel(new BorderLayout()); - panel.add(label, BorderLayout.NORTH); - panel.add(textinput, BorderLayout.SOUTH); - SequenceI[] seqs = new SequenceI[searchResults.getSize()]; SequenceFeature[] features = new SequenceFeature[searchResults.getSize()]; @@ -122,7 +116,7 @@ public class Finder { seqs[i] = searchResults.getResultSequence(i).getDatasetSequence(); - features[i] = new SequenceFeature(textinput.getText(), + features[i] = new SequenceFeature(textfield.getText().trim(), "Search Results", null, searchResults.getResultStart(i), searchResults.getResultEnd(i), -- 1.7.10.2