From cc794012b1c99ba13b07b57212482f62a389ab4e Mon Sep 17 00:00:00 2001
From: Puissegur Alexis <alexis.puissegur@insa-rennes.fr>
Date: Tue, 11 Dec 2018 17:16:53 +0100
Subject: [PATCH] removing gggg

---
 .../edu/kufpg/bluetooth/server/BluetoothThread.java    | 10 ++--------
 app/src/Vue/FXMLVue.fxml                               |  4 ++--
 2 files changed, 4 insertions(+), 10 deletions(-)

diff --git a/app/src/BluetoothJavaServer/src/edu/kufpg/bluetooth/server/BluetoothThread.java b/app/src/BluetoothJavaServer/src/edu/kufpg/bluetooth/server/BluetoothThread.java
index 52b229a..935915b 100644
--- a/app/src/BluetoothJavaServer/src/edu/kufpg/bluetooth/server/BluetoothThread.java
+++ b/app/src/BluetoothJavaServer/src/edu/kufpg/bluetooth/server/BluetoothThread.java
@@ -29,20 +29,14 @@ public class BluetoothThread extends Thread {
         }
         
 	@Override
-	public void run() {
-		System.out.println("hey c parti");		
+	public void run() {	
 		while (keepGoing) {
-			System.out.println("hi");
 			byte b;
 			try {
 				// Each packet must start with two SYNC bytes in a row
-				
-
-				System.out.println("New packet found");
-				byte[] payload = new byte[100];
+				byte[] payload = new byte[16];
 				connection.getInputStream().read(payload);
 				this.buffer = new String(payload, StandardCharsets.UTF_8);
-				System.out.println("payload : " + this.buffer);
 				notifyObserver();
 				
 				//connection.getOutputStream().write("SOUND".getBytes());
diff --git a/app/src/Vue/FXMLVue.fxml b/app/src/Vue/FXMLVue.fxml
index ce1d364..0a5958c 100644
--- a/app/src/Vue/FXMLVue.fxml
+++ b/app/src/Vue/FXMLVue.fxml
@@ -27,10 +27,10 @@
       <Label text="La plante qui pleure" textAlignment="CENTER" GridPane.halignment="CENTER">
          <font>
             <Font name="Trebuchet MS Bold" size="28.0" />
-         </font>gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg
+         </font>
       </Label>
       <GridPane fx:id="accueil" style="-fx-background-color: white;" GridPane.rowIndex="1">
-        <columnConstragggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggints>
+        <columnConstraints>
           <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
             <ColumnConstraints hgrow="SOMETIMES" maxWidth="-Infinity" minWidth="10.0" prefWidth="20.0" />
             <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
-- 
GitLab