日期:2014-05-20 浏览次数:20687 次
//树 tree = new Tree(CITY, SWT.CHECK | SWT.BORDER ); //父节点 TreeItem child1 = new TreeItem(tree, SWT.NONE); child1.setText("ADD"); //子节点 TreeItem sub = new TreeItem(child1 , SWT.NONE); sub.setText("1");