From: cmzmasek@gmail.com Date: Sat, 16 Apr 2011 21:02:04 +0000 (+0000) Subject: added display of some basic data X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=4299cab0ff5662b2163f087bb91b9bc9a271081d;p=jalview.git added display of some basic data --- diff --git a/forester/java/src/org/forester/archaeopteryx/MainPanel.java b/forester/java/src/org/forester/archaeopteryx/MainPanel.java index 8062491..17335bd 100644 --- a/forester/java/src/org/forester/archaeopteryx/MainPanel.java +++ b/forester/java/src/org/forester/archaeopteryx/MainPanel.java @@ -94,14 +94,13 @@ public class MainPanel extends JPanel implements ComponentListener { treepanel.setControlPanel( getControlPanel() ); _treepanels.add( treepanel ); String name = ""; - // if ( !ForesterUtil.isEmpty( phy.getName() ) ) { - // name = phy.getName(); - // } - // else if ( phy.getIdentifier() != null ) { - // name = phy.getIdentifier().toString(); - // } - /* else */ - if ( !ForesterUtil.isEmpty( default_name ) ) { + if ( !ForesterUtil.isEmpty( phy.getName() ) ) { + name = phy.getName(); + } + else if ( phy.getIdentifier() != null ) { + name = phy.getIdentifier().toString(); + } + else if ( !ForesterUtil.isEmpty( default_name ) ) { name = default_name; } else {