Question: In my code, there are LoginPage(created by swing GUI),UserGui(swinggui), User Class. For my first question, I created a login page that getUserName and getPassword from

In my code, there are LoginPage(created by swing GUI),UserGui(swinggui), User Class. For my first question, I created a login page that getUserName and getPassword from users and compares with textfields if validate for users information. I need to create 10 users. All of them have different names, ages and they gonna open UserGui but for each one this class show their own information.where should i assign value to user constructors and after entering the username and password for user1 on the login page, can you give an example code for my question. how to open a userHome page that shows user1's information (name, age...)? Please do not write new userHome() . I want to get the values of individual users.

example: informations

User user1 = new {Nora, 21(age), ArrayList for following list, id } User user2 = new{Jack, 25, list, id2} JAVA SWING PLEASE GIVE A ANSWER AS A CODE

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!