Variablen auf Private

This commit is contained in:
BerdanInformatik123 2021-05-16 21:16:00 +02:00
parent ff07225d44
commit f86e159e37

View file

@ -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