Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4172334

RFE: JOptionPane's InputDialog should have password field option

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P5 P5
    • None
    • 1.1
    • client-libs
    • None
    • generic
    • solaris_10

      >>The JOptionPane API is really starting to grow on me, but I think it
      >>would be very useful to have an option to make the InputDialog use a
      >>JPasswordField. I often want to type:
      >>
      >>password = JOptionPane.showInputDialog(
      >> "Please enter the password:", PASSWORD_FIELD);
      >>
      >>And have the echoChar set, and the safer cut/paste handling that comes
      >>with JPasswordField.

            amfowler Anne Fowler (Inactive)
            amfowler Anne Fowler (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: