Forgive me if this is a stupid question, but... I want to use a JTextPane or JText area to show some text that I will load from a file. However, I don't want the text to wrap. Instead I want a scrollbar (I don't care if it is shown all the time or not.) Can anybody help? Thanks, Tim.