Topic: 怎么给JTree的节点加上不同的Icon

  Print this page

1.怎么给JTree的节点加上不同的Icon Copy to clipboard
Posted by: KevinTian
Posted on: 2005-05-15 20:56

怎么给JTree的节点加上不同的Icon
各位请指教

2.Re:怎么给JTree的节点加上不同的Icon [Re: KevinTian] Copy to clipboard
Posted by: whisperwind
Posted on: 2005-05-24 10:57

给TreeNode设置不同的Renderer就OK了

3.Re:怎么给JTree的节点加上不同的Icon [Re: KevinTian] Copy to clipboard
Posted by: kavinwang
Posted on: 2005-05-24 18:54

ibm-900上面有个什么tree的教程,你可以参考一下

4.Re:怎么给JTree的节点加上不同的Icon [Re: KevinTian] Copy to clipboard
Posted by: java88
Posted on: 2005-06-03 08:44

设置节点render类

5.Re:怎么给JTree的节点加上不同的Icon [Re: KevinTian] Copy to clipboard
Posted by: yinpeng263
Posted on: 2005-06-08 04:19

http://www.java2s.com/ExampleCode/Swing-JFC/Tree.htm


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923