Share
Explore BrainMass

Simulating User Logon Tracking with an ArrayList

****This needs to be written in Java*****

Computer systems typically track the number of users logged on to the system at any point in time. Some systems do not allow more than one simultaneous logon by a given user.

Write an application to simulate user logon tracking as shown in
Figure 9-52 (attached to post). The application should keep a list of users logged onto the system.

A user name must always be entered in the User text box to log on or log off. The program also should ensure that only users not already logged on to the system can log on, and only those already logged on can log off.

Keep track of the number of users logged on at any point in time, and display this number in a text box that the user cannot modify. Display appropriate messages when a user successfully logs on or off and appropriate error messages when an action fails.

****This needs to be written in Java*****

Attachments

Solution Summary

Computer systems typically track the number of users logged on to the system at any point in time. Some systems do not allow more than one simultaneous logon by a given user.

$2.19