diff --git a/src/client/Client1.java b/src/client/Client1.java index fba7c0d..dea3ebc 100644 --- a/src/client/Client1.java +++ b/src/client/Client1.java @@ -32,20 +32,20 @@ public class Client1 extends JFrame { * Methoden genutzt werden können. */ private static JPanel contentPane; - JTextField txtMessage; + private static JTextField txtMessage; private static JTextField txtUsername; - public static String currentText = " "; - public static int i = 0; - public static Object tosend = new Message("Leer", "Leer"); - public static Client1 t1; - public static Socket socket; - public static ObjectInputStream obinstr; - public static ObjectOutputStream oboust; - public static boolean verbunden = false; - public static JTextArea textArea = new JTextArea(); - public static int anzahlVersuche = 0; //Ist gleich die AN - public static int anzahlRekursionen = 0; - public static Message temp = new Message("leer", "leer"); + private static String currentText = " "; + private static int i = 0; + private static Object tosend = new Message("Leer", "Leer"); + private static Client1 t1; + private static Socket socket; + private static ObjectInputStream obinstr; + private static ObjectOutputStream oboust; + private static boolean verbunden = false; + private static JTextArea textArea = new JTextArea(); + private static int anzahlVersuche = 0; //Ist gleich die AN + private static int anzahlRekursionen = 0; + private static Message temp = new Message("leer", "leer"); /** * In der main Methode wird das GUI erstellt und die start() Methode