From e6ea1a1dcb0a9b96cad1bc08c3b80a6f876344d2 Mon Sep 17 00:00:00 2001 From: "cmzmasek@gmail.com" Date: Mon, 7 Jul 2014 21:27:13 +0000 Subject: [PATCH] in progress --- forester/java/src/org/forester/archaeopteryx/TreePanel.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/forester/java/src/org/forester/archaeopteryx/TreePanel.java b/forester/java/src/org/forester/archaeopteryx/TreePanel.java index d786ad6..7825bb7 100644 --- a/forester/java/src/org/forester/archaeopteryx/TreePanel.java +++ b/forester/java/src/org/forester/archaeopteryx/TreePanel.java @@ -2471,8 +2471,11 @@ public final class TreePanel extends JPanel implements ActionListener, MouseWhee } } if ( additional_nodes != null ) { - for( final PhylogenyNode n : additional_nodes ) { - n.getBranchData().setBranchColor( new BranchColor( c ) ); + for( final PhylogenyNode an : additional_nodes ) { + // n.getBranchData().setBranchColor( new BranchColor( c ) ); + for( final PreorderTreeIterator it = new PreorderTreeIterator( an ); it.hasNext(); ) { + it.next().getBranchData().setBranchColor( new BranchColor( c ) ); + } } } repaint(); -- 1.7.10.2