Changeset 6280


Ignore:
Timestamp:
05/11/10 16:33:40 (10 years ago)
Author:
curtis
Message:

Remove obsolete(?) hack -- seems to work without it, at least.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/components/loci-plugins/src/loci/plugins/in/SeriesDialog.java

    r6279 r6280  
    2828import ij.gui.GenericDialog; 
    2929 
    30 import java.awt.AWTEvent; 
    3130import java.awt.Button; 
    3231import java.awt.Checkbox; 
     
    234233 
    235234  private void rebuildDialog(GenericDialog gd, int nPanels) { 
     235    int seriesCount = process.getSeriesCount(); 
     236 
    236237    gd.removeAll(); 
    237238 
    238     Panel masterPanel = new Panel() { 
    239       // ClassCastException is thrown if dispatchEventImpl is not overridden 
    240       // CTR TODO - there must be a better way 
    241       protected void dispatchEventImpl(AWTEvent e) { } 
    242     }; 
    243     int seriesCount = process.getSeriesCount(); 
     239    Panel masterPanel = new Panel(); 
    244240    masterPanel.setLayout(new GridLayout(seriesCount, 2)); 
    245241 
Note: See TracChangeset for help on using the changeset viewer.