Software (Example)

 Java login form

We'll need a Username and Password before we can utilise a login form, and in my instance, the username is COSMIN and the password is Radu. The line code for defining the username and password is shown in the print screen below.



To log in to the interface, I'll need to start the application in IntelliJ, and IntelliJ has a Run method that does just that.


When the Run function is pressed, the login form interface appears.

Example:


The login interface with the right Username and Password is shown in the image below:




By hitting the submit button, the data is sent to the software, where it is checked for accuracy. If those conditions are met, a window with the title welcome will display.
Example below:

I
The programme will not run and the welcome windows will not show if the user enters a different login or password by accident. In the application's outcome, it will display the message "Incorrect login or password.".
Example:

Comments