• Post Reply Bookmark Topic Watch Topic
  • New Topic

Continues Characters in JTextPane  RSS feed

 
Savio Mascarenhas
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi !!!
I am currently using JTextPane so that to display multicolored text.
The default JTextPane object automatically wraps up text at the end of the JTextPane object.
How should this text wrapping be disabled so that the text continues on the same line instead of breaking at the end of the JTextPane object ... something like TextField/JTextField .Only problem is that these objects do not support multicolored text and text formatting.
Also,i do not want to use JScrollPane to scroll horizontally.
Pls suggest.
Thanks a lot.

[This message has been edited by Savio Mascarenhas (edited August 26, 2001).]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!