• Post Reply Bookmark Topic Watch Topic
  • New Topic

TextArea: controlling text wrap?  RSS feed

 
Gideon Goodwin
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I am getting some JVM-dependant behavior which I can't explain. My client applet is using a TextArea to display a paragraph worth of text. When run on some target JVMs, this text is wrapped correctly to display in the actual size of the TextArea. On other JVMs, however, the text doesn't wrap correctly and extends past the actual right edge of the component, but eventually wraps on its own (no line break present in content string). Apparently this component is getting different default values on different platforms for some property which controls how text wraps, but I can't seem to find this property in the docs. I tried setColumns(x) but that didn't help. I am not using scrollbars on this component. Any ideas?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!