Button bparamettre = new Button("Ouverture paramêttre");
bparamettre.addActionListener(new Coeurmc(1,m));
this.add(bparamettre);
Label titre = new Label("Machine à café");
Button cafe = new Button("café");
cafe.addActionListener(new Coeurmc(2,m));
this.add(cafe);
Button cafelait = new Button("café au lait");
cafelait.addActionListener(new Coeurmc(3,m));
this.add(cafelait);
Button chocolat = new Button("chocolat");
chocolat.addActionListener(new Coeurmc(4,m));
this.add(chocolat);
Button the = new Button("the");
the.addActionListener(new Coeurmc(5,m));
this.add(the);
TextField animation = new TextField(20);
animation.addActionListener(new Coeurmc(16,m));
this.add(animation);
Button cinqcent = new Button("0,5 centimes");
cinqcent.addActionListener(new Coeurmc(6,m));
this.add(cinqcent);
Button dixcent = new Button("0,10 centimes");
dixcent.addActionListener(new Coeurmc(7,m));
this.add(dixcent);
Button vingtcent = new Button("0,20 centimes");
vingtcent.addActionListener(new Coeurmc(8,m));
this.add(vingtcent);
Button cinquantcent = new Button("0,50 centimes");
cinquantcent.addActionListener(new Coeurmc(9,m));
this.add(cinquantcent);
Button uneurro = new Button("1€");
uneurro.addActionListener(new Coeurmc(10,m));
this.add(uneurro);
Label rendmoncinqcent = new Label("Nombre de piece de 5 centimes à rendre");
TextField txtrendmoncinqcent = new TextField(15);
txtrendmoncinqcent.addActionListener(new Coeurmc(11,m));
this.add(txtrendmoncinqcent);
Label rendmondixcent = new Label("Nombre de piece de 10 centimes à rendre");
TextField textrendmondixcent = new TextField(15);
textrendmondixcent.addActionListener(new Coeurmc(12,m));
this.add(textrendmondixcent);
Label rendmonvingtcent = new Label("Nombre de piece de 20 centimes à rendre");
TextField textrendmonvingtcent = new TextField(15);
textrendmonvingtcent.addActionListener(new Coeurmc(13,m));
this.add(textrendmonvingtcent);
Label rendmoncinquantcent = new Label("Nombre de piece de 50 centimes à rendre");
TextField textrendmoncinquantcent = new TextField(15);
textrendmoncinquantcent.addActionListener(new Coeurmc(14,m));
this.add(textrendmoncinquantcent);
Label rendmonunerro = new Label("Nombre de piece de 1€ à rendre");
TextField textrendmonunerro = new TextField(15);
textrendmonunerro.addActionListener(new Coeurmc(15,m));
this.add(textrendmonunerro);