SequenceGroup selected = av.getSelectionGroup();
if ((selected != null)
- && selected.getSequences(null).contains(
- node.element()))
+ && selected.getSequences(null).contains(node.element()))
{
g.setColor(Color.gray);
labelLength = fm.stringWidth(longestName) + 20; // 20 allows for scrollbar
- float wscale = (width - labelLength - (offx * 2))
- / tree.getMaxHeight();
+ float wscale = (width - labelLength - (offx * 2)) / tree.getMaxHeight();
SequenceNode top = tree.getTopNode();
if (SwingUtilities.isRightMouseButton(evt))
{
Color col = JColorChooser.showDialog(this,
- MessageManager.getString("label.select_subtree_colour"), highlightNode.color);
+ MessageManager.getString("label.select_subtree_colour"),
+ highlightNode.color);
if (col != null)
{
setColor(highlightNode, col);
if (av.getCodingComplement() != null)
{
- ((AlignViewport) av.getCodingComplement()).getAlignPanel().updateAnnotation();
+ ((AlignViewport) av.getCodingComplement()).getAlignPanel()
+ .updateAnnotation();
/*
* idPanel. repaint ()
*/
}
else
{
- return new AlignmentPanel[]
- { ap };
+ return new AlignmentPanel[] { ap };
}
}
}