• Post Reply Bookmark Topic Watch Topic
  • New Topic

jtextpane help  RSS feed

 
soni k
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
is there a way to limit the number of rows a user may enter in a jtextpane? i'm having some problems dealing with word wrapping, it does not seem to recgonize the wrap as a new line, only when the user presses the enter key does it recognize a new row.
Thank you.
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
soni29,
Please change your name to be compliant with JavaRanch's naming policy.
Your displayed name should be 2 separate names with more than 1 letter each. We really would prefer that you use your REAL name.
You can change your name: here.
Thanks,
Cindy
Moving to the Swing forum
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!