Changeset 4091


Ignore:
Timestamp:
06/02/08 15:51:34 (12 years ago)
Author:
melissa
Message:

Create a blank thumbnail if we weren't able to retrieve one from the server.

File:
1 edited

Legend:

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

    r4055 r4091  
    356356      else { 
    357357        gbc.gridy = i; 
     358        if (thumbs[i] == null) { 
     359          thumbs[i] = ImageTools.blankImage(64, 64, 1, FormatTools.UINT8); 
     360        } 
    358361        JLabel label = new JLabel(new ImageIcon(thumbs[i])); 
    359362        label.setToolTipText(tips[i]); 
Note: See TracChangeset for help on using the changeset viewer.