TextField: Password Entry

Using TextField to enter passwords with input echoed as `*' is

import java.awt.*;

public class Password extends Frame {
   public static void main(String argv[])
   {
      new Password();
   }
   Password() {
      add("Center", new PasswordText());
      resize(100, 20);
      show();
   }
}


Slide 55