Question: 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

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 elements

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!