Class LoginView

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class LoginView extends JFrame
Represents the initial authentication interface for the POS system. This class validates employee identification numbers against the database and determines the appropriate user experience (Managerial vs. Cashier) based on the authenticated user's assigned role. * @author Team 60
See Also:
  • Constructor Details

    • LoginView

      public LoginView(Connection conn)
      Initializes the login window with a secure database connection. * @param conn The active SQL connection used to verify employee credentials.