Changeset 2770


Ignore:
Timestamp:
05/09/07 08:09:07 (13 years ago)
Author:
curtis
Message:

Fix jikes warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/ome/notes/editor/TemplateEditor.java

    r2764 r2770  
    3232import javax.swing.filechooser.FileFilter; 
    3333import loci.ome.notes.*; 
    34 import loci.ome.viewer.MetadataPane; 
    35 import org.openmicroscopy.xml.OMENode; 
    3634 
    3735/** Main class for OME Notes template editor. */ 
     
    4341 
    4442  /** List of component names. */ 
    45   private String[] COMPONENT_NAMES = new String[] {"Text field", 
     43  private static final String[] COMPONENT_NAMES = new String[] {"Text field", 
    4644    "Number field", "Choice field", "Checkbox field" 
    4745  }; 
    4846 
    4947  /** List of component classes. */ 
    50   private Class[] COMPONENTS = new Class[] { 
     48  private static final Class[] COMPONENTS = new Class[] { 
    5149    JTextField.class, JSpinner.class, JComboBox.class, JCheckBox.class 
    5250  }; 
    5351 
    5452  /** List of component types. */ 
    55   private String[] COMPONENT_TYPES = new String[] { 
     53  private static final String[] COMPONENT_TYPES = new String[] { 
    5654    "var", "int", "enum", "bool" 
    5755  }; 
    5856 
    59   public static int TAB = 0, GROUP = 1, FIELD = 2; 
     57  public static final int TAB = 0, GROUP = 1, FIELD = 2; 
    6058 
    6159  // -- Fields -- 
Note: See TracChangeset for help on using the changeset viewer.