Tuesday, April 21, 2009

Dispaly tree in expanded mode SWT

Below is a small snippet of code for creating a checked tree in SWT and display the tree in expanded mode
//code to display the tree in expanded mode
TreeItem[] items = tree.getItems();
for (int i = 0; i <>
items[i].setExpanded(true);
}

No comments:

Post a Comment