107108109110111112113114115116117
}); } public void testGetSetUpdateUI() throws Exception { assertNotNull(pane.getUI()); ScrollPaneUI ui = new BasicScrollPaneUI(); pane.setUI(ui); assertEquals(ui, pane.getUI()); pane.updateUI(); assertNotSame(ui, pane.getUI()); }