jta.setLineWrap(true);
assertTrue(jta.getScrollableTracksViewportWidth());
}
public void testJTextAreaDocumentStringintint() {
Document doc = new PlainDocument();
try {
doc.insertString(0, str2, null);
ExtJTextArea ta = new ExtJTextArea(doc, str1, 3, 8);
assertEquals(str1, ta.getText());
assertEquals(doc, ta.getDocument());
assertEquals(3, ta.getRows());
assertEquals(8, ta.getColumns());
assertFalse(ta.getLineWrap());
assertFalse(ta.getWrapStyleWord());
doc = new PlainDocument();
doc.insertString(0, str2, null);
ta = new ExtJTextArea(doc, null, 5, 6);
assertEquals(str2, ta.getText());
ta = new ExtJTextArea(doc, "", 5, 6);
assertEquals("", ta.getText());
try {