7475767778798081828384
System.out.println("Methode : "+m[j].getName()); Menu menu = m[j].getAnnotation(Menu.class); if(menu != null) { JMenuItem item; if(menu.libelle() == null) { item = new JMenuItem(m[j].getName()); } else {
8081828384858687888990
{ item = new JMenuItem(m[j].getName()); } else { item = new JMenuItem(menu.libelle()); } plugin.add(item); item.addActionListener(new ActionListener() { @Override
222223224225226227228229230231232
{ Menu menu = m[j].getAnnotation(Menu.class); if(menu != null) { test = true; if(menu.libelle() == null) { item = new JMenuItem(m[j].getName()); } else {
228229230231232233234235236237238
{ item = new JMenuItem(m[j].getName()); } else { item = new JMenuItem(menu.libelle()); } } } if(!test) {