need to add icon for each node in JTree ????
I need to add icon for each node in JTree,
Please H E L P . . .
Re: need to add icon for each node in JTree ????
By default JTree will give you one icon for each node. You can override that
behaviour by writing your own DefaultTreeCellRenderer for displaying different
icons for node. If you want to give the default icons of your own you can
call the following methods.
"Guy" <firstname.lastname@example.org> wrote:
>I need to add icon for each node in JTree,
>Please H E L P . . .
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL