SWT中的tree初始化为展开状态

来源:互联网 发布:淘宝天猫国际图标图片 编辑:程序博客网 时间:2024/06/06 03:46

1、TreeItem.setExpanded(true);
2、上述代码行写在添加子节点之后。
原创粉丝点击