Closed kenlimmj closed 11 years ago
I can prevent the horizontal scroll bar from ever appearing. Need to make text wrap damn :P
Am I correct to say that the thing is a jtextarea? If so then
textArea.setLineWrap(true);
textArea.setWrapStyleWord(true);
should do the job
Yup forgot to add those things. THanks!
Current behaviour:
If the printed text string is longer than the width of the text area, it will scroll in the x-direction to overflow.
Expected behaviour:
x-overflow should be disabled. If a text string is longer than the width of the text area, it should automatically break to the next line.