final static String display_options[][] = {
{ "Phylogram", "display", "?" }, { "Node Name", "display", "yes" }, { "Taxonomy Code", "display", "yes" },
{ "Annotation", "nodisplay", "no" }, { "Confidence Values", "display", "?" }, { "Event", "display", "?" },
- { "Taxonomy Colorize", "display", "no" }, { "Colorize Branches", "display", "no" },
+ { "Taxonomy Colorize", "display", "yes" }, { "Colorize Branches", "display", "no" },
{ "Use Branch-Widths", "display", "no" }, { "Show Custom Nodes", "display", "yes" },
{ "Domains", "nodisplay", "no" }, { "Binary Characters", "nodisplay", "no" },
{ "Binary Char Counts", "nodisplay", "no" }, { "Prot/Gene Name", "display", "yes" },
public final static boolean __SYNTH_LF = false; // TODO remove me
public final static boolean ALLOW_DDBJ_BLAST = false;
public final static String PRG_NAME = "Archaeopteryx";
- final static String VERSION = "0.975+";
- final static String PRG_DATE = "121204";
+ final static String VERSION = "0.976";
+ final static String PRG_DATE = "121205";
final static String DEFAULT_CONFIGURATION_FILE_NAME = "_aptx_configuration_file";
final static String[] DEFAULT_FONT_CHOICES = { "Verdana", "Tahoma",
"Arial", "Helvetica", "Dialog", "Lucida Sans", "SansSerif", "Sans-serif", "Sans" };
treepanel.setControlPanel( getControlPanel() );
_treepanels.add( treepanel );
final JScrollPane treegraphic_scroll_pane = new JScrollPane( treepanel );
+ treegraphic_scroll_pane.getHorizontalScrollBar().addAdjustmentListener( new AdjustmentListener() {
+
+ @Override
+ public void adjustmentValueChanged( final AdjustmentEvent e ) {
+ if ( treepanel.isOvOn() || getOptions().isShowScale() ) {
+ treepanel.repaint();
+ }
+ }
+ } );
+ treegraphic_scroll_pane.getVerticalScrollBar().addAdjustmentListener( new AdjustmentListener() {
+
+ @Override
+ public void adjustmentValueChanged( final AdjustmentEvent e ) {
+ if ( treepanel.isOvOn() || getOptions().isShowScale() ) {
+ treepanel.repaint();
+ //System.out.println( e.getValue() );
+ }
+ }
+ } );
treegraphic_scroll_pane.getHorizontalScrollBar().setUnitIncrement( 20 );
treegraphic_scroll_pane.getHorizontalScrollBar().setBlockIncrement( 50 );
treegraphic_scroll_pane.getVerticalScrollBar().setUnitIncrement( 20 );