24 lines
613 B
Java
24 lines
613 B
Java
|
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;
|
||
|
}
|
||
|
}
|