Java Code Examples for javax.swing.plaf.basic.BasicTableUI

The following examples show how to use javax.swing.plaf.basic.BasicTableUI. These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
public static ComponentUI createUI(JComponent c) {
	return new BasicTableUI();
}
 
Example 2
Source Project: jpexs-decompiler   Source File: MyTreeTable.java    License: GNU General Public License v3.0 4 votes vote down vote up
public MyTreeTable(MyTreeTableModel treeTableModel, boolean showRoot) {
    super();
    this.showRoot = showRoot;
    setUI(new BasicTableUI());
    setTreeModel(treeTableModel);
}