Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Lab # 3 Java - Admin Home, Admin Add User Account and Admin Modify User Account Forms For this lab, you will modify the Home

Lab #3 Java- Admin Home, Admin Add User Account and Admin Modify User Account Forms
For this lab, you will modify the Home form for "Admin Mode" and create forms for the Admin to add and modify user accounts. Please use the attachments on the last pages as a guide for your forms.
The dimensions for each form are as follows:
a. AdminHome -(680500)
b. AdminAddUserAccount -(410435)
c. AdminModifyUserAccount -(410485)
Name all controls based on their usage and purpose.
Create click events for the buttons and the combo boxes and add the logic to handle the events. If no code is required, then use JOptionPane Message Dialog to display "Coming Soon" to the user.
For the "Role" combo box, add static selection choices for "Admin" and "User"
Create a method in the Admin - Modify Account Form named "getCurrentUsers0" that we will call to dynamically read all current users and populate them in the User Accounts combo box.
Add a window opened event to the Admin - Modify Account Form. Call the "getCurrentUsers(0" method from inside this event.
Modify the click event for the "Update Account" button by adding a call to the "getCurrentUsers()" method.
Create all forms as JDialog forms and set the Home form as the parent.
Don't forget to modify the Home form to correctly show the "Admin Mode" changes when the user logs in as an Admin and a blank Home form when a normal user logs in.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Modeling And Design

Authors: Toby J. Teorey, Sam S. Lightstone, Tom Nadeau, H.V. Jagadish

5th Edition

0123820200, 978-0123820204

More Books

Students also viewed these Databases questions

Question

Is the person willing to deal with the consequences?

Answered: 1 week ago