wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes Turn off WordWrap in StyledDokument and JTextPane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Turn off WordWrap in StyledDokument and JTextPane" Watch "Turn off WordWrap in StyledDokument and JTextPane" New topic
Author

Turn off WordWrap in StyledDokument and JTextPane

Jimmy Nilsson
Greenhorn

Joined: Sep 25, 2004
Posts: 26
Hey

How do i turn off the WordWrap in TysledDokument and JTextPane?

//Jimmy
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
Line Wrapping in JTextPane
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Turn off WordWrap in StyledDokument and JTextPane
 
Similar Threads
Wordwrap in GridLayout
Wordwrap on a JTextArea
wordwrap in jsp
Text And Wordwrap In java.awt.Label