143144145146147148149150151152153
break; case RootSearchPanel: panel = new RootSearchPanel(this); break; case CleaningPanel: panel = new CleaningPanel(results); break; default: throw new IllegalArgumentException("undefined panel"); }