Question: I created an login page with java gui swing . In login page I use JComboBox for login as customer or employee such as String

I created an login page with java gui swing. In login page I use JComboBox for login as customer or employee such as String options [] = {"Customer", "Employee"} and JComboBox bb = new JComboBox(options);. now I need to redirect to new pages according to the login option. how can I do that. For example, after selecting the Employee option on the login page, I need to open an Employee home page showing the information I specified in the Employee class (seniority, how many years he has been in this bank and the customer list) and where he can edit his information. can you show this code. JAVA

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!