121122123124125126127128129130131
case LoginPanel: args.add(1, this); panel = new LoginPanel(); break; case UserPanel: panel = new UserPanel(); break; case ReceptionPanel: panel = new ReceptionPanel(); break; case RegisterPanel: