nodeLabel = new Format("%-.2f").form(node.dist);
}
- if (showBootstrap)
+ if (showBootstrap && node.bootstrap>-1)
{
if (showDistances)
{
nodeLabel = nodeLabel + " : ";
}
- nodeLabel = nodeLabel + String.valueOf(node.getBootstrap());
+ nodeLabel = nodeLabel + String.valueOf(node.bootstrap);
}
if (!nodeLabel.equals(""))
g.drawLine( (int) (height * scale) + offx, ystart,
(int) (height * scale) + offx, yend);
+ String nodeLabel = "";
+
if (showDistances && (node.dist > 0))
{
- g.drawString(new Format("%-.2f").form(node.dist).trim(), xstart + 2,
- ypos - 2);
+ nodeLabel = new Format("%-.2f").form(node.dist);
+ }
+
+ if (showBootstrap && node.bootstrap>-1)
+ {
+ if (showDistances)
+ {
+ nodeLabel = nodeLabel + " : ";
+ }
+
+ nodeLabel = nodeLabel + String.valueOf(node.bootstrap);
+ }
+
+ if (!nodeLabel.equals(""))
+ {
+ g.drawString(nodeLabel, xstart + 2, ypos - 2);
}
}
}
av.alignment.getWidth() - 1);
sg.setName("JTreeGroup:" + sg.hashCode());
-
+ sg.setIdColour(col);
AlignmentPanel[] aps = getAssociatedPanels();
for (int a = 0; a < aps.length; a++)
{