Changeset 2545


Ignore:
Timestamp:
04/03/07 17:23:15 (13 years ago)
Author:
curtis
Message:

Use new loci.formats.gui package for file chooser stuff.

File:
1 edited

Legend:

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

    r1923 r2545  
    3535import javax.swing.*; 
    3636import loci.formats.*; 
     37import loci.formats.gui.GUITools; 
    3738 
    3839public class LociOpener implements ItemListener { 
     
    4849    // set up the file chooser 
    4950    ImageReader ir = new ImageReader(); 
    50     fc = ir.getFileChooser(); 
     51    fc = GUITools.buildFileChooser(ir); 
    5152    String ijDir = OpenDialog.getDefaultDirectory(); 
    5253    if (ijDir != null) fc.setCurrentDirectory(new File(ijDir)); 
Note: See TracChangeset for help on using the changeset viewer.