• Post Reply Bookmark Topic Watch Topic
  • New Topic

text editor, JTextArea or JTextPane?  RSS feed

 
Mario A. Villamizar
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I developing a text editor that I've just started.
I'm on the design part of it.
At the beginning a start with a JTextArea, but I changed to a JTextPane afterward, because I would like to implement colour highlighting. Now I've got a problem, JTextPane does word wrapping by default. someone told me how to set off the line wrapping off, but my question is what is better or which Text component should I used to do it?
Thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!