aspose file tools*
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: Continues Characters in JTextPane
 
Similar Threads
Need a help on developing multicolored textarea for chat application
Multicolored JTextPane/ JEditorPane/ JTextArea output
JTextPane problem
How do I have a multicolored text in JTextArea? (VERY URGENT )
Highlighting text in a JTextPane without scrolling to the end.