parent
add410250f
commit
1d9beb6b7d
|
@ -39,7 +39,7 @@ public class ClientConnectionHandler extends ConnectionHandler implements Runnab
|
||||||
this.serverAddress.set(serverAddress);
|
this.serverAddress.set(serverAddress);
|
||||||
this.serverPort.set(serverPort);
|
this.serverPort.set(serverPort);
|
||||||
setConnection(NetworkHandler.openConnection(serverAddress, serverPort));
|
setConnection(NetworkHandler.openConnection(serverAddress, serverPort));
|
||||||
this.userName = new SimpleStringProperty((userName == null || userName.isBlank())? USER_NONE : userName);
|
this.userName.set((userName == null || userName.isBlank())? USER_NONE : userName);
|
||||||
}
|
}
|
||||||
|
|
||||||
public SimpleStringProperty getServerAddressProperty() { return serverAddress; }
|
public SimpleStringProperty getServerAddressProperty() { return serverAddress; }
|
||||||
|
|
Loading…
Reference in New Issue