How can I turn off the line-wrapping in JTextPane?

Thanks,