I'm having another problem with my chat.
This time it is on the client side and it is a GUI problem.
I use a JTextField that isn't editable and has line wrapping enabled
to display the incoming messages.
The problem is I want it to split the line at the nearest space.