diff --git a/DEV2.1/TP9:FluxOctets/Mainfond2.class b/DEV2.1/TP9:FluxOctets/Mainfond2.class index 8549832..792fb65 100644 Binary files a/DEV2.1/TP9:FluxOctets/Mainfond2.class and b/DEV2.1/TP9:FluxOctets/Mainfond2.class differ diff --git a/DEV2.1/TP9:FluxOctets/Mainfond2.java b/DEV2.1/TP9:FluxOctets/Mainfond2.java index 8606545..f90f485 100644 --- a/DEV2.1/TP9:FluxOctets/Mainfond2.java +++ b/DEV2.1/TP9:FluxOctets/Mainfond2.java @@ -19,6 +19,12 @@ public class Mainfond2{ fenetre.setContentPane(pan); fenetre.setVisible(true); file2.close(); + try{ + DataOutputStream outputfile = new DataOutputStream(new FileOutputStream ("taille.bin")); + outputfile.writeInt(250); + outputfile.writeInt(300); + outputfile.flush(); + }catch(FileNotFoundException e){} } catch(IOException e){} }catch(FileNotFoundException e){ JFrame fenetre = new JFrame(); diff --git a/DEV2.1/TP9:FluxOctets/taille.bin b/DEV2.1/TP9:FluxOctets/taille.bin index e69de29..7ef222a 100644 Binary files a/DEV2.1/TP9:FluxOctets/taille.bin and b/DEV2.1/TP9:FluxOctets/taille.bin differ