Consume if enter pressed
authoramwaterhouse <Andrew Waterhouse>
Mon, 11 Jul 2005 14:38:35 +0000 (14:38 +0000)
committeramwaterhouse <Andrew Waterhouse>
Mon, 11 Jul 2005 14:38:35 +0000 (14:38 +0000)
src/jalview/jbgui/GFinder.java

index 5143e74..32d2f24 100755 (executable)
@@ -140,8 +140,10 @@ public class GFinder
 \r
   protected void textfield_keyPressed(KeyEvent e)\r
   {\r
+\r
     if(e.getKeyCode()==KeyEvent.VK_ENTER)\r
     {\r
+      e.consume();\r
       findNext_actionPerformed(null);\r
     }\r
     findNext.setEnabled(true);\r