Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

problem: JTextPane doesn't wrap  RSS feed

 
sorcha kripshaw
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a JTextPane inside a ScrollPane (inside a SplitPane - part of a chatroom). For some reason the text won't wrap. Hence, if I send text to the chatroom that's longer than the wideth of the TextPane it disappears instead of continuing on next line as it should.
Ideas? Help?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!