Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I need to create the interface and have it working. The instructions are clear The program should be written in Java and should run on
I need to create the interface and have it working. The instructions are clear
The program should be written in Java and should run on netbeans
Assignment No. 2 Create a login syster for an application You may use the Design tab to create the interface, but the coding for reading from the source files, and writurgto the target, will be tied to the functionality of the widgets. You will need to create two external files as inputs UserName.txt Password.txt Each of these contains a word that will bematchedto the user's mput. The interface has the user enter a login name and then a password, and click a button when this is done, theprogram will compare the two text strings entered into the text fields with the words read in from the two files listed above If either of them ica mismatch, the alert string will say, "Access Denied " If both match, the alert string will say, Access granted Enter messagebelow." The user can then type a message into the strmg labelei" Message," and what is typed will then be written to an external tale called Output Message.txt To the access was denied the subrrut button will donothing and the message above it will change to You cannot send a message without logging in " If access was granted, the string is written to the target file, and the alert message will say, "File successfully updated" Username: Password: Login Access granted! Enter message below. Message: Submit The above is one possible configuration of your elementsStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started