I am trying to add an emoji
to my chat program when my client types :)
I am trying to add this in the FXML
controller. I have captured when the user types :) using the following code snippet :
if(chat.contains(":)")) {
...
}
My chat is printed into a textarea
named taChat
taChat.appendText(chat + '\n');
Any help is appreciated!
Aucun commentaire:
Enregistrer un commentaire