下面列出了怎么用javax.swing.plaf.basic.BasicTableUI的API类实例代码及写法,或者点击链接到github查看源代码。
public static ComponentUI createUI(JComponent c) {
return new BasicTableUI();
}
public MyTreeTable(MyTreeTableModel treeTableModel, boolean showRoot) {
super();
this.showRoot = showRoot;
setUI(new BasicTableUI());
setTreeModel(treeTableModel);
}