Changeset 2054


Ignore:
Timestamp:
01/10/07 10:02:56 (13 years ago)
Author:
melissa
Message:

Star out password field in login box.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/plugins/ome/OMETools.java

    r2046 r2054  
    2727import ij.gui.GenericDialog; 
    2828import ij.process.*; 
     29import java.awt.TextField; 
    2930import java.util.*; 
    3031import loci.formats.*; 
     
    8788    gd.addStringField("Username: ", "", 30); 
    8889    gd.addStringField("Password: ", "", 30); 
     90     
     91    // star out the password field 
     92     
     93    Vector v = gd.getStringFields(); 
     94    ((TextField) v.get(2)).setEchoChar('*'); 
     95     
    8996    gd.showDialog(); 
    9097 
Note: See TracChangeset for help on using the changeset viewer.