analyseWriter/Menu/sousmenuRepresentation/mnAddMenuNiveau1.java

24 lines
613 B
Java
Raw Normal View History

package sousmenuRepresentation;
import javax.swing.ImageIcon;
import javax.swing.JMenu;
import action.actAddMenuFalse;
import action.actAddMenuTrue;
import fenetres.create;
/**
* Menu lien de menu vers les niveau 1.</br>
* @author pabr6
*
*/
public class mnAddMenuNiveau1 {
public static JMenu menu(){
JMenu mnAddMenuNiveau1= new JMenu("Lien"); //addMenu
mnAddMenuNiveau1.setIcon( new ImageIcon(create.class.getResource("/resources/addmenumini.png")));
mnAddMenuNiveau1.add(new actAddMenuTrue());
mnAddMenuNiveau1.add(new actAddMenuFalse());
return mnAddMenuNiveau1;
}
}