| Summary: | Back button goes to wrong page | ||
|---|---|---|---|
| Product: | CS3343 Salon Booking System | Reporter: | Samuel <samuelip4-c> |
| Component: | hairdresser.dayoff.Read | Assignee: | Samuel <samuelip4-c> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | mingcng8-c |
| Priority: | --- | ||
| Version: | Beta | ||
| Hardware: | PC | ||
| OS: | Mac OS | ||
|
Description
Samuel
2023-11-10 15:19:54 HKT
Because the btnBackOnClick call the wrong function, So it return to he Admin page.
Now I solve the problem.
original code
ActionListener btnBackOnClick = new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
frame.get().dispose();
new AdminMainMenu();
}
};
now node
ActionListener btnBackOnClick = new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
frame.get().dispose();
new HairdresserMainMenu();
}
};
|