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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started