114115116117118119120121122123124
Panel panel = null; args.add(0, results); switch (t) { case RootPanel: args.add(1, this); panel = new RootPanel(); break; case LoginPanel: args.add(1, this); panel = new LoginPanel(); break;