default gap char is -
authoramwaterhouse <Andrew Waterhouse>
Fri, 3 Dec 2004 16:34:51 +0000 (16:34 +0000)
committeramwaterhouse <Andrew Waterhouse>
Fri, 3 Dec 2004 16:34:51 +0000 (16:34 +0000)
src/jalview/jbgui/GAlignFrame.java

index 7d5f2cd..696ab75 100755 (executable)
@@ -79,7 +79,7 @@ public class GAlignFrame extends JInternalFrame
   protected JMenuItem undoMenuItem = new JMenuItem();\r
   protected JMenuItem redoMenuItem = new JMenuItem();\r
   protected JCheckBoxMenuItem conservationMenuItem = new JCheckBoxMenuItem();\r
-  JMenuItem noColourmenuItem = new JMenuItem();\r
+  JRadioButtonMenuItem noColourmenuItem = new JRadioButtonMenuItem();\r
   protected JCheckBoxMenuItem wrapMenuItem = new JCheckBoxMenuItem();\r
   JMenuItem pdbTest = new JMenuItem();\r
   JMenuItem printMenuItem = new JMenuItem();\r
@@ -125,6 +125,7 @@ public class GAlignFrame extends JInternalFrame
     }\r
 \r
     ButtonGroup colours = new ButtonGroup();\r
+    colours.add(noColourmenuItem);\r
     colours.add(clustalColour);\r
     colours.add(zappoColour);\r
     colours.add(taylorColour);\r
@@ -263,7 +264,7 @@ public class GAlignFrame extends JInternalFrame
         removeAllGapsMenuItem_actionPerformed(e);\r
       }\r
     });\r
-    setGapCharMenuItem.setText("Set gap character to \"-\"");\r
+    setGapCharMenuItem.setText("Set gap character to \".\"");\r
     setGapCharMenuItem.addActionListener(new java.awt.event.ActionListener()\r
     {\r
       public void actionPerformed(ActionEvent e)\r
@@ -410,7 +411,6 @@ public class GAlignFrame extends JInternalFrame
         clustalColour_actionPerformed(e);\r
       }\r
     });\r
-    zappoColour.setSelected(true);\r
     zappoColour.setText("Zappo colour scheme");\r
     zappoColour.addActionListener(new java.awt.event.ActionListener()\r
     {\r
@@ -597,6 +597,7 @@ public class GAlignFrame extends JInternalFrame
       }\r
     });\r
     noColourmenuItem.setText("None");\r
+    noColourmenuItem.setSelected(true);\r
     noColourmenuItem.addActionListener(new java.awt.event.ActionListener()\r
     {\r
       public void actionPerformed(ActionEvent e)\r