Browse Source

Create IP-address input field

remotes/origin/Client
Alena Bandarovich 11 months ago
parent
commit
b36e2f63fc
  1. 9
      src/main/java/ChatClient.java

9
src/main/java/ChatClient.java

@ -1,11 +1,12 @@
import javax.swing.*;
public class ChatClient {
private String address;
public ChatClient() {
// Constructor Method
address = JOptionPane.showInputDialog("bitte IP-Adresse");
}
public static void main(String[] args) {
System.out.println("Test");
new ChatClient();
}
}
Loading…
Cancel
Save