Keep track of the number of users logged on at any point in


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.

897_pop.png

Solution Preview :

Prepared by a verified Expert
JAVA Programming: Keep track of the number of users logged on at any point in
Reference No:- TGS01250629

Now Priced at $20 (50% Discount)

Recommended (97%)

Rated (4.9/5)