analyseWriter/Menu/sousmenuRepresentation/mnAddMenuNiveauSup1.java

24 lines
646 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 supérieur à 1.</br>
* @author pabr6
*
*/
public class mnAddMenuNiveauSup1 {
public static JMenu menu() {
JMenu mnAddMenuNiveauSup1= new JMenu("Lien"); //addMenu
mnAddMenuNiveauSup1.setIcon( new ImageIcon(create.class.getResource("/resources/addmenumini.png")));
mnAddMenuNiveauSup1.add(new actAddMenuTrue());
mnAddMenuNiveauSup1.add(new actAddMenuFalse());
return mnAddMenuNiveauSup1;
}
}