Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem: JTextPane doesn't wrap

 
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic