From: amwaterhouse Date: Tue, 25 Jan 2005 17:08:00 +0000 (+0000) Subject: change order of menuitems X-Git-Tag: Release_2_0~720 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=ee0fae8126d04df7909f4a2dc39d5d695b8c9853;p=jalview.git change order of menuitems --- diff --git a/src/jalview/jbgui/GAlignFrame.java b/src/jalview/jbgui/GAlignFrame.java index 43dc81f..a74c5e7 100755 --- a/src/jalview/jbgui/GAlignFrame.java +++ b/src/jalview/jbgui/GAlignFrame.java @@ -86,6 +86,8 @@ public class GAlignFrame extends JInternalFrame JMenuItem deleteGroups = new JMenuItem(); public GAlignFrame() { + + try { jbInit(); @@ -166,7 +168,7 @@ public class GAlignFrame extends JInternalFrame groupsMenuItem_actionPerformed(e); } }); - selectAllSequenceMenuItem.setText("Select all sequences"); + selectAllSequenceMenuItem.setText("Select all"); selectAllSequenceMenuItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) @@ -174,7 +176,7 @@ public class GAlignFrame extends JInternalFrame selectAllSequenceMenuItem_actionPerformed(e); } }); - deselectAllSequenceMenuItem.setText("Clear sequence selection"); + deselectAllSequenceMenuItem.setText("Clear selection"); deselectAllSequenceMenuItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) @@ -644,12 +646,11 @@ public class GAlignFrame extends JInternalFrame editMenu.add(undoMenuItem); editMenu.add(redoMenuItem); editMenu.addSeparator(); - editMenu.add(deleteGroups); - editMenu.add(groupsMenuItem); - editMenu.addSeparator(); - editMenu.add(selectAllSequenceMenuItem); editMenu.add(deselectAllSequenceMenuItem); + editMenu.add(selectAllSequenceMenuItem); editMenu.add(invertSequenceMenuItem); + editMenu.add(deleteGroups); + editMenu.add(groupsMenuItem); editMenu.addSeparator(); editMenu.add(deselectAllColumnsMenuItem); editMenu.add(remove2LeftMenuItem);