Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

text wrapping  RSS feed

 
Greg Schwartz
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry for all of the questions, but hopefully somebody might be able to help with this one.
When labeling TextField's in my j2me app, I'm running into the problem of the text label I need to use being too long. I can't seem to get the text to wrap to the next line, instead it just seems to be truncated.
I tried using "\n" and also tried using the StringItem for part of the label, but I had no such luck. If you use 2 StringItem's together, the spacing appears very awkward.
If anyone knows a solution to this problem, please let me know.
Thanks!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!