{
final Constructor<? extends BasePanel> constructor = panelClass
.getConstructor(new Class[]
{ String.class, Map.class });
final BasePanel panel = constructor.newInstance(new Object[]
{ "ContenuPrincipal", parameters });
this.add(panel);
}
catch (final IllegalArgumentException e)