I have created a JInternalFrame with some JTextAreas inside. The JTextAreas are setLineWrap(true). This works great. But if I resize the internal frame, there will be a scrollbar for the JTextAreas. But I want after a resize, that the TextAreas are displayed in LineWrap(true) mode and not with a scrollbar.
does anyone have an idea?
Many thanks in advance
posted 12 years ago
if u are using setLineWrap in a TextArea u may have to use a setWrapStyleWord inorder for it to take effect. just try it if it doesnt work.someelse will help out