removing special needs for JavaScript table repainting
authorhansonr <hansonr@STO24954W.ad.stolaf.edu>
Tue, 18 Dec 2018 14:32:23 +0000 (08:32 -0600)
committerhansonr <hansonr@STO24954W.ad.stolaf.edu>
Tue, 18 Dec 2018 14:32:23 +0000 (08:32 -0600)
src/jalview/gui/FeatureSettings.java

index 9a0114a..33ab037 100644 (file)
@@ -1158,22 +1158,22 @@ public class FeatureSettings extends JPanel
    */
   private void repaintTable() 
   {
-         if (true)
-                 return;
-       // BH 2018
-       // Here is a needed intervention
-       // because generally we don't "repaint"
-       // the table. We re-create the HTML divs
-       // that is associated with it. A better
-       // way to do this would be to fire a property change.
-       @SuppressWarnings("unused")
-       TableUI ui = table.getUI();
-       /**
-        * @j2sNative ui.repaintTable$();
-        */
-       {
          table.repaint();
-       }
+//       if (true)
+//               return;
+//     // BH 2018
+//     // Here is a needed intervention
+//     // because generally we don't "repaint"
+//     // the table. We re-create the HTML divs
+//     // that is associated with it. A better
+//     // way to do this would be to fire a property change.
+//     @SuppressWarnings("unused")
+//     TableUI ui = table.getUI();
+//     /**
+//      * @j2sNative ui.repaintTable$();
+//      */
+//     {
+//     }
   }
 
   public void close()