This section shows you Table Tree.
SWT provides the class TableTree to display the hierarchy of items in a tabular form. In the given example, we have defined three columns for the table tree. The method getTable() of class TableTree returns the underlying table control . The method table.setHeaderVisible(true) makes the header visible. The class TableColumn creates the columns in the TableTree. The class TableTreeItem adds the items to the TableTree.
Here is the code of TableTreeExample.java
Output will be displayed as:
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.