jQuery in Action, 3rd edition
The moose likes Swing / AWT / SWT and the fly likes Continues Characters in JTextPane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Continues Characters in JTextPane" Watch "Continues Characters in JTextPane" New topic
Author

Continues Characters in JTextPane

Savio Mascarenhas
Ranch Hand

Joined: Nov 29, 2000
Posts: 108
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).]
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Continues Characters in JTextPane
 
jQuery in Action, 3rd edition