.getUI()).getMaximumSize(jta));
}
public void testSetView() throws Exception {
jta.wasCallInvalidate = false;
view = new PlainView(jta.getDocument().getDefaultRootElement());
((BasicTextUI) jta.getUI()).setView(view);
wasCallInvalidate = jta.wasCallInvalidate;
assertTrue(wasCallInvalidate);
assertEquals(view, ((BasicTextUI) jta.getUI()).getRootView(jta).getView(0));
}