JAL-1807 disambiguated method signatures with numeric primitive args
[jalview.git] / src / jalview / gui / TreeCanvas.java
index 1bce84b..702a24e 100755 (executable)
@@ -261,7 +261,7 @@ public class TreeCanvas extends JPanel implements MouseListener, Runnable,
 
       if (showDistances && (node.dist > 0))
       {
-        nodeLabel = new Format("%-.2f").form(node.dist);
+        nodeLabel = new Format("%-.2f").formDouble(node.dist);
       }
 
       if (showBootstrap && node.bootstrap > -1)
@@ -348,7 +348,7 @@ public class TreeCanvas extends JPanel implements MouseListener, Runnable,
 
       if (showDistances && (node.dist > 0))
       {
-        nodeLabel = new Format("%-.2f").form(node.dist);
+        nodeLabel = new Format("%-.2f").formDouble(node.dist);
       }
 
       if (showBootstrap && node.bootstrap > -1)