Changeset 2394


Ignore:
Timestamp:
03/07/07 11:02:53 (13 years ago)
Author:
curtis
Message:

Thumbnail background loader works...

Location:
trunk/loci/plugins
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/plugins/Importer.java

    r2392 r2394  
    422422      // -- Step 4a: prompt for the series to open, if necessary -- 
    423423 
    424       if (seriesCount > 1) { 
     424      /*if (seriesCount > 1) */{ 
    425425        gd = new GenericDialog("LOCI Bio-Formats Series Options"); 
    426426 
  • trunk/loci/plugins/ThumbLoader.java

    r2392 r2394  
    2727 
    2828import ij.IJ; 
    29 //import ij.ImagePlus; 
    30 //import ij.gui.ImageCanvas; 
    3129import java.awt.Dialog; 
    3230import java.awt.Panel; 
     
    118116        int ndx = ir.getIndex(id, z, 0, t); 
    119117        BufferedImage thumb = ir.openThumbImage(id, ndx); 
    120         //ImagePlus imp = new ImagePlus("", thumb); 
    121         //ImageCanvas ic = new ImageCanvas(imp); 
     118        ImageIcon icon = new ImageIcon(thumb); 
    122119        p[ii].removeAll(); 
    123         //p[ii].add(ic); 
    124         p[ii].add(new JLabel(new ImageIcon(thumb))); 
     120        p[ii].add(new JLabel(icon)); 
    125121        if (dialog != null) dialog.validate(); 
    126122      } 
Note: See TracChangeset for help on using the changeset viewer.