From 872382230495b6a877eef2d8928c60ebbb1351ae Mon Sep 17 00:00:00 2001 From: stiti Date: Fri, 2 Feb 2024 23:10:00 +0100 Subject: [PATCH] MAJ --- BUT1/DEV2.2/TP3-MiseEnPage/EXO1/exo1.class | Bin 1225 -> 1225 bytes BUT1/DEV2.2/TP3-MiseEnPage/EXO1/exo1.java | 2 +- BUT1/DEV2.2/TP3-MiseEnPage/EXO2/exo2.class | Bin 0 -> 1030 bytes BUT1/DEV2.2/TP3-MiseEnPage/EXO2/exo2.java | 35 +++++++++++++++++++++ BUT1/DEV2.2/TP3-MiseEnPage/EXO3/exo3.class | Bin 0 -> 908 bytes BUT1/DEV2.2/TP3-MiseEnPage/EXO3/exo3.java | 32 +++++++++++++++++++ BUT1/DEV2.2/TP3-MiseEnPage/EXO4/exo4.class | Bin 0 -> 462 bytes BUT1/DEV2.2/TP3-MiseEnPage/EXO4/exo4.java | 15 +++++++++ 8 files changed, 83 insertions(+), 1 deletion(-) create mode 100644 BUT1/DEV2.2/TP3-MiseEnPage/EXO2/exo2.class create mode 100644 BUT1/DEV2.2/TP3-MiseEnPage/EXO2/exo2.java create mode 100644 BUT1/DEV2.2/TP3-MiseEnPage/EXO3/exo3.class create mode 100644 BUT1/DEV2.2/TP3-MiseEnPage/EXO3/exo3.java create mode 100644 BUT1/DEV2.2/TP3-MiseEnPage/EXO4/exo4.class create mode 100644 BUT1/DEV2.2/TP3-MiseEnPage/EXO4/exo4.java diff --git a/BUT1/DEV2.2/TP3-MiseEnPage/EXO1/exo1.class b/BUT1/DEV2.2/TP3-MiseEnPage/EXO1/exo1.class index ef761fad91ec93f80e2c6e78ba81f7360966a67c..8c9511e352ec9ebf1684992e0480d7a5306a84be 100644 GIT binary patch delta 13 UcmX@fd6IL31PdekWJ#6{03I&`*#H0l delta 13 UcmX@fd6IL31Pdd}WJ#6{03IL%)&Kwi diff --git a/BUT1/DEV2.2/TP3-MiseEnPage/EXO1/exo1.java b/BUT1/DEV2.2/TP3-MiseEnPage/EXO1/exo1.java index 13441fe..94dd5b7 100644 --- a/BUT1/DEV2.2/TP3-MiseEnPage/EXO1/exo1.java +++ b/BUT1/DEV2.2/TP3-MiseEnPage/EXO1/exo1.java @@ -29,7 +29,7 @@ public class exo1 { Groupe.add(boutonRadio4); // on ajoute le composant dans la fenetre, au milieu - GridLayout gestionnaire = new GridLayout(1, 4); + GridLayout gestionnaire = new GridLayout(4,4); fenetre.setLayout(gestionnaire); fenetre.add(boutonRadio1); fenetre.add(boutonRadio2); diff --git a/BUT1/DEV2.2/TP3-MiseEnPage/EXO2/exo2.class b/BUT1/DEV2.2/TP3-MiseEnPage/EXO2/exo2.class new file mode 100644 index 0000000000000000000000000000000000000000..f5352914928fedf4d8595a7cfd9cedeeea7095cf GIT binary patch literal 1030 zcmZuwOHUI~6#g#l^wKhg4$$%{3i#?ns1_|sK?NdGQ_!TO2yPtch=c7+Go1>WxHEC( z#*N0MF=4HX*4XF|@b|dTh2ptW1vJb|?&F;A-t(RBoca3e(-#0UnDLkg~ zUeWBF{zPMtBAHAy??VRy9EyxibTKFgaWaOjZE6-nYgx4_8f_VZk?a8=XIm5~9nEkA z8M+*Yx@{+JSb8C=J~pei58dby8TdK+{^xgFHMF7+y>NLE#vsQr8OJfi(7u1uoLMx9 zfV8rZS-wspG=qy6jwdZnkH|QIlMH@JY*yWPxM`VHqdlJ;yNcC_>)4ZbP!4LIVAHYRHBMF1L@j4ltqpBn7u39h(3mI-hH-&9Q#>u8 z%D_WoigtrEGn%DX9qc_V7$#^GZomy6F5xn*3CcobZ6)jL2KZ_n-fUc9-{`Bs7jq>) zqJ6r7?$vO(j?hv#{NOWsC*7`;6qIQ57HfU(pwvJwo$Sw%t(fxASWfYvC&=$f9ty4L z-=en@ZRmranynpi1Sk^)v*^MC_4pD(xPu z&+(;AY~l~_U-%z^Yr#6z10a`bXcBUbvJ#>v0`4aF6~fGUo#UtytRH(vhZ#PUqp;ydP9$ zP;fu_&Co!G7QIGnGT^pZZaXKC{%^x8n$9kXG#PkEt1c1OKCe21^Q(mS6_h87&3ah|+wNIq-Bq5zaBA;L!;2*nEp-bja$PZP zH&M$3noR*Y1G?6f^q|I&V8|i!Ch;(jnPG|gRxy}qK&D=sAET4NWMKqW*CV% zcI*PV&xr2WIwM(Ivu0axvW}G_m&x+!QATUw@#VPdbUi$@K?}CXj>E(Zdf=cJ3zW+f lx`6>~(=*(|5Z+@Lb&R438=q+hUoeTUm?ELe#M6bB{{RElz!Lxf literal 0 HcmV?d00001 diff --git a/BUT1/DEV2.2/TP3-MiseEnPage/EXO3/exo3.java b/BUT1/DEV2.2/TP3-MiseEnPage/EXO3/exo3.java new file mode 100644 index 0000000..633bedd --- /dev/null +++ b/BUT1/DEV2.2/TP3-MiseEnPage/EXO3/exo3.java @@ -0,0 +1,32 @@ +import javax.swing.*; +import java.awt.*; + +public class exo3 { + public static void main(String[] args) { + JFrame fenetre = new JFrame(); + fenetre.setSize(500, 300); + fenetre.setLocation(300, 300); + + JPanel panneauBouton = new JPanel(); + JPanel panneauPrincipal = new JPanel(); + + + JLabel texte = new JLabel("Aimez-vous les chiens ?"); + + + JButton bouton1 = new JButton("Oui"); + panneauBouton.add(bouton1); + JButton bouton2 = new JButton("Non"); + panneauBouton.add(bouton2); + JButton bouton3 = new JButton("NSPP"); + panneauBouton.add(bouton3); + + panneauPrincipal.add(texte, BorderLayout.CENTER); + panneauPrincipal.add(panneauBouton, BorderLayout.SOUTH); + + + + fenetre.add(panneauPrincipal, BorderLayout.CENTER); + fenetre.setVisible(true); + } +} diff --git a/BUT1/DEV2.2/TP3-MiseEnPage/EXO4/exo4.class b/BUT1/DEV2.2/TP3-MiseEnPage/EXO4/exo4.class new file mode 100644 index 0000000000000000000000000000000000000000..3536854e2703f59551a0ca41ed1bbc59a8eb87bf GIT binary patch literal 462 zcmYLF%TB^T6g@+MLMe}eq9Q)n7_h`{+-XdV2?kSjfgzx)0VZY$v`Hy~eucl{1`te8FBB~x$g}{KV*oXOHYOu z3|h6;){$VyE7IJV%p}on8UY^*13ENiQYK8K8T5$=Tk=gX#H!6^t*x-EiJZbxgt>m7 zhtl_ShQv8nCdTx=O3kqKPeRGZ<9bmJ`_