JAL-1821 updated the reference sequence column of structure chooser summary table...
[jalview.git] / src / jalview / jbgui / GStructureChooser.java
index 235c499..9c016f9 100644 (file)
@@ -181,6 +181,7 @@ public abstract class GStructureChooser extends JPanel implements
   private void jbInit() throws Exception
   {
     tbl_summary.setAutoCreateRowSorter(true);
+    tbl_summary.getTableHeader().setReorderingAllowed(false);
     tbl_local_pdb.setAutoCreateRowSorter(true);
     tbl_local_pdb.addMouseListener(new MouseAdapter()
     {
@@ -188,6 +189,11 @@ public abstract class GStructureChooser extends JPanel implements
       {
         updateCurrentView();
       }
+
+      public void mouseReleased(MouseEvent e)
+      {
+        updateCurrentView();
+      }
     });
 
     btn_view.setFont(new java.awt.Font("Verdana", 0, 12));