Variablen auf Private
This commit is contained in:
parent
ff07225d44
commit
f86e159e37
1 changed files with 13 additions and 13 deletions
|
@ -32,20 +32,20 @@ public class Client1 extends JFrame {
|
||||||
* Methoden genutzt werden können.
|
* Methoden genutzt werden können.
|
||||||
*/
|
*/
|
||||||
private static JPanel contentPane;
|
private static JPanel contentPane;
|
||||||
JTextField txtMessage;
|
private static JTextField txtMessage;
|
||||||
private static JTextField txtUsername;
|
private static JTextField txtUsername;
|
||||||
public static String currentText = " ";
|
private static String currentText = " ";
|
||||||
public static int i = 0;
|
private static int i = 0;
|
||||||
public static Object tosend = new Message("Leer", "Leer");
|
private static Object tosend = new Message("Leer", "Leer");
|
||||||
public static Client1 t1;
|
private static Client1 t1;
|
||||||
public static Socket socket;
|
private static Socket socket;
|
||||||
public static ObjectInputStream obinstr;
|
private static ObjectInputStream obinstr;
|
||||||
public static ObjectOutputStream oboust;
|
private static ObjectOutputStream oboust;
|
||||||
public static boolean verbunden = false;
|
private static boolean verbunden = false;
|
||||||
public static JTextArea textArea = new JTextArea();
|
private static JTextArea textArea = new JTextArea();
|
||||||
public static int anzahlVersuche = 0; //Ist gleich die AN
|
private static int anzahlVersuche = 0; //Ist gleich die AN
|
||||||
public static int anzahlRekursionen = 0;
|
private static int anzahlRekursionen = 0;
|
||||||
public static Message temp = new Message("leer", "leer");
|
private static Message temp = new Message("leer", "leer");
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* In der main Methode wird das GUI erstellt und die start() Methode
|
* In der main Methode wird das GUI erstellt und die start() Methode
|
||||||
|
|
Loading…
Reference in a new issue