How can I make a chat textfield?

How can I simple make chat textfield for my 3D multiplayer game?

https://wiki.jmonkeyengine.org/legacy/doku.php/?do=search&id=text+field

Try to run the nifty examples. It has an already implemented chat example.