public void testGetSetUpdateUI() throws Exception { assertTrue(table.getUI() instanceof BasicTableUI); TableUI ui = new BasicTableUI(); table.setUI(ui); assertSame(ui, table.getUI()); table.updateUI(); assertNotSame(ui, table.getUI()); }
public static ComponentUI createUI(JComponent c) { return new BasicTableUI(); }
public MyTreeTable(MyTreeTableModel treeTableModel, boolean showRoot) { super(); this.showRoot = showRoot; setUI(new BasicTableUI()); setTreeModel(treeTableModel); }