Closed legomaniack closed 9 years ago
We should implement a line wrapping function (or just enable it because Java might already have one built in)
... Oh, that's what you're talking about xP
Yeah, I made the system so that the list of lines on the screen is separate from the actual incoming messages, but I haven't bothered to actually tell it to split it up yet.
Well done on the chat system btw.
Ok, chats are working for me. Do you want to test on your side as well?
We should probably swap the JTextArea to some kinda scroll pane. There are ways to handle line wrapping automagically, and the only thing stopping me from doing that was that it would break horizontal scrolling; a scrolling view would take care of that.
If the message length exceeds the size of the box, it just kinda breaks everything.
The current system is basically set up to handle that, but it needs two things.
n
or less length substrings.