Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

chat client GUI problem

  Asked By: Alex    Date: Feb 20    Category: Java    Views: 1451
  

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.

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Garry Sanchez     Answered On: Feb 20

Figured it out.
setWrapStyleWord(true);

 
Didn't find what you were looking for? Find more on chat client GUI problem Or get search suggestion and latest updates.




Tagged: