From 52a96e0d6d9291db45dd69af87a7276dc2f8dc52 Mon Sep 17 00:00:00 2001 From: stiti Date: Sat, 9 Mar 2024 12:31:18 +0100 Subject: [PATCH] Test --- .../SUJETA/EXO1/Sudoku/Menu.class | Bin 0 -> 1688 bytes .../SUJETA/EXO1/Sudoku/Nuance.java | 9 ++++++ .../Entrainement/SUJETB/EXO1/Decapite.class | Bin 0 -> 1338 bytes .../Entrainement/SUJETB/EXO1/Decapite.java | 26 ++++++++++++++++++ 4 files changed, 35 insertions(+) create mode 100644 BUT1/CONTROLE/DEV2.1/Entrainement/SUJETA/EXO1/Sudoku/Menu.class create mode 100644 BUT1/CONTROLE/DEV2.1/Entrainement/SUJETA/EXO1/Sudoku/Nuance.java create mode 100644 BUT1/CONTROLE/DEV2.1/Entrainement/SUJETB/EXO1/Decapite.class create mode 100644 BUT1/CONTROLE/DEV2.1/Entrainement/SUJETB/EXO1/Decapite.java diff --git a/BUT1/CONTROLE/DEV2.1/Entrainement/SUJETA/EXO1/Sudoku/Menu.class b/BUT1/CONTROLE/DEV2.1/Entrainement/SUJETA/EXO1/Sudoku/Menu.class new file mode 100644 index 0000000000000000000000000000000000000000..5cdb358ab2e95d854ef6446b6d7f7eea54dd0f63 GIT binary patch literal 1688 zcma)6OLH4V5dOwqYvuJivgP=Vjp8^Ut&Nog2w(+6tf0g}%1e%n6JBF$YzFT`wL6={ zocR?Txlr7IgPe-1eBnm%ANU)b2tAU@Rti@Nm1=gUxBKg_zwVho{&{``;2O3p^q|*- zVWSTThV-}mF@Ktmo=AT;f2$O7PcS5|N?)oKhTd$hmPC@ls0cr{U}3;S(uR#ehGZnv zx>PO&jAqLkC+~7Xsj85`3b~s0PuUp4FvA2nUl%((c2&_0B5|i7Lat=s6LxkjS2Hof zFwz3yPgMR!DC=duAH>Q+8l#%*7(-unja)VCgpEl|G4vB`+mB(oLqf;5Z58hGT@ex$ z6R&mPk853xl?r?d)0oxpgBmtt;~eIwZeFi5I9-6nz-t7)@Kqt#E>&kaG3wxX8yB>s zMuTtfX~UZ~vdA%5M6xC$xuvBtvJZ2$ek@?o#9KC&kY^a`5^q0J!XpM$I_cWZC4>B3 z(o~VMf_sG|E-{p9B9^WzzRTNI%NNeukW-irwFT&eTO_i?9MeBm9gj zcYUEv+kxkCzb=+6yp4BEyldl%?rFONFXv-08#=p7VlCi(8z1O~8se!`X_~2mjjQ;O z7>6-6GnajI$|!W1?#I5*Nr{4mkMOaHYc^IRW|3T6+_pk{YMf zLI@t0ROz70y{$T**Sq2J6@7Wl5Jr-CYd=6{(OnDnfk|)T1FJQVCS` zh^*VFphP>G>J5BmV$;S$JYtwT8Hsl7G}1a9LGT^Et%7i$WbwLpe|F2#32JA&Nv(E8 zG+z#ay|_{6>PF|Rc3EBuT;FeqZukHHv7PeOv7M9Dx->e-Mee#)sYHRnUh{ns7F`}i zA~NwM!-fB7a$0#NzGj$xwJTk5Z7t}y>kCo;dO;TqO0?df-7oZR(zEIufH`TiiGC;1 z#2M!h>CJ^B;{a!y7+3EGL{v3VD6wdxQP- z;xDI(^N!KP8^0244{p-BgaKL;FesIUBvQ1W!5}W-44tVIiuAsQ5gL)RxQ|hK2gcF! zg6^3C<2?FNK4xF01Z2jvbMymJzrjggY~r%<4DUJ5u?#%J$_a}xDixTZ zb&~Q;VVF2fVYZcxL>V5k^o(|NnQQ3;SckASNt^2%8i=*ZNwjj#kjHJZ_23Tf($gmE V1G3$t67J!1vRGvK0$+h+@?WZ8q?7;v literal 0 HcmV?d00001 diff --git a/BUT1/CONTROLE/DEV2.1/Entrainement/SUJETA/EXO1/Sudoku/Nuance.java b/BUT1/CONTROLE/DEV2.1/Entrainement/SUJETA/EXO1/Sudoku/Nuance.java new file mode 100644 index 0000000..e6a0c6e --- /dev/null +++ b/BUT1/CONTROLE/DEV2.1/Entrainement/SUJETA/EXO1/Sudoku/Nuance.java @@ -0,0 +1,9 @@ +import javax.swing.*; +import java.awt.*; + +public class Nuance { + private JPanel[] tableauPanneauNuance; + public Nuance(){ + } + +} \ No newline at end of file diff --git a/BUT1/CONTROLE/DEV2.1/Entrainement/SUJETB/EXO1/Decapite.class b/BUT1/CONTROLE/DEV2.1/Entrainement/SUJETB/EXO1/Decapite.class new file mode 100644 index 0000000000000000000000000000000000000000..0800153ca711926482c2baa3172bdde0bb3af638 GIT binary patch literal 1338 zcmaJ>>rN9v6#j++Tk4iVK?-uQTrCBuctwgAC?dq7KOhh>{us6sSZHT!cZ%Un^a=c{ ziClt-58yKyXOVhAP=|FMah(g`)bP5S0$-VbVkr zQ$&n%{CtM)DyQ`c49yuQN9;thwiIv6gjwz`&pzFPeYhT+Q5P)_Zh=jO|7;(at=kx@7U*ig-hr>Mg7zMslWRr(Yf+xEJ5qb%R(1jUVb<(4?Xdv|$CXL#n!n3$v zDK$f>de7~@(Ek1mcd}EbNNm^I^&w-_a4*8dMF0=Hau4x{<{+WW(f=`?(<(&P3wkXx G==%@nQb&FO literal 0 HcmV?d00001 diff --git a/BUT1/CONTROLE/DEV2.1/Entrainement/SUJETB/EXO1/Decapite.java b/BUT1/CONTROLE/DEV2.1/Entrainement/SUJETB/EXO1/Decapite.java new file mode 100644 index 0000000..6541b09 --- /dev/null +++ b/BUT1/CONTROLE/DEV2.1/Entrainement/SUJETB/EXO1/Decapite.java @@ -0,0 +1,26 @@ +import java.awt.GraphicsEnvironment; + +public class Decapite{ + private boolean isHeadless; + private boolean isHeadlessInstance; + private GraphicsEnvironment environnementGraphique; + + public Decapite(){ + this.environnementGraphique = GraphicsEnvironment.getLocalGraphicsEnvironment(); + this.isHeadless = environnementGraphique.isHeadless(); + this.isHeadlessInstance = environnementGraphique.isHeadlessInstance(); + } + + @Override + public String toString(){ + String isHeadlessString = this.isHeadless ? "oui" : "non"; + String isHeadlessInstanceString = this.isHeadlessInstance ? "oui" : "non"; + + return "isHeadless dit : " + isHeadlessString + "\nisHeadlessInstance dit :" + isHeadlessInstanceString; + } + + public static void main(String[] args){ + Decapite test = new Decapite(); + test.toString(); + } +} \ No newline at end of file