I am trying to remove the folder symbol from node of JTree which comes by default. How can I accomplish this?
The Swing tutorial talks specifically about doing this:
http://download.oracle.com/javase/tutorial/uiswing/components/tree.html#display
You can easily change the default icon used for leaf, expanded branch, or collapsed branch nodes. To do so, you first create an instance of DefaultTreeCellRenderer.