🎧 New: AI-Generated Podcasts Turn your study notes into engaging audio conversations. Learn more

Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

Document Details

BeneficentColumbus

Uploaded by BeneficentColumbus

Cape Peninsula University of Technology

2024

Tags

java gui programming

Full Transcript

Cape Peninsula University of Technology Department of Information Technology Application Development Practice II 11 Mar 2024 Prac 5: Gui Write the definition for a worker class called User, with instance variables for a username and correspond...

Cape Peninsula University of Technology Department of Information Technology Application Development Practice II 11 Mar 2024 Prac 5: Gui Write the definition for a worker class called User, with instance variables for a username and corresponding password. Write a Java application to produce the following Gui. Make use of an arraylist to store User objects containing valid username/password pairs. Add some validation for user input. Use JOptionPane class to display an appropriate message for a valid/invalid login. OPTIONAL: add functionality to add new users.

Use Quizgecko on...
Browser
Browser