Changeset 2705


Ignore:
Timestamp:
04/30/07 09:35:26 (13 years ago)
Author:
curtis
Message:

Fix inverted transmitted channel bug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/plugins/browser/CustomWindow.java

    r2679 r2705  
    189189    channelPanel.setOpaque(false); 
    190190 
    191     channelBox = new JCheckBox("Transmitted"); 
     191    channelBox = new JCheckBox("Transmitted", true); 
    192192    channelBox.setBackground(Color.white); 
    193193    channelPanel.add("one", channelBox); 
     
    229229    } 
    230230 
    231     //setup the layout 
     231    // set up the layout 
    232232    lowPane = new Panel(); 
    233233    FormLayout layout = new FormLayout(TAB + ",pref," + TAB + ",pref:grow," + 
     
    316316      // C checkbox 
    317317      switcher.first(channelPanel); 
    318       c = channelBox.isSelected() ? 2 : 1; 
     318      c = channelBox.isSelected() ? 1 : 2; 
    319319      if (!db.hasC) { 
    320320        channelBox.setEnabled(false); 
     
    582582      z = zSliceSel.getValue(); 
    583583      t = tSliceSel.getValue(); 
    584       c = channels.isSelected() ? 2 : 1; 
     584      c = channels.isSelected() ? 1 : 2; 
    585585 
    586586      showSlice(z, t, c); 
Note: See TracChangeset for help on using the changeset viewer.