Class PasswordBar

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class PasswordBar extends JPanel
PasswordBar is a custom JPanel that contains a label and a password field. It is used to input passwords in a user interface.
Author:
Riccardo Finocchiaro
See Also:
  • Constructor Details

    • PasswordBar

      public PasswordBar()
      Constructs a PasswordBar with a label and a password field.
      See Also:
  • Method Details

    • getPasswordField

      public String getPasswordField()
      Returns the label of the password field.
      Returns:
      the label of the password field
    • setText

      public void setText(String text)
      Sets the text of the password field.
      Parameters:
      text - the text to set in the password field