wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes JTree Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTree" Watch "JTree" New topic
Author

JTree

Alan Brooks
Greenhorn

Joined: Nov 30, 2008
Posts: 14
Hey

I have been makeing a JTree to show a tree of files and was just wondering if anyone knows why when a folder is empty, the tree icon for that folder chnages and is there any way to keep it the same as a folder with items in it.

Alan
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

http://www.coderanch.com/t/343329/GUI/java/Empty-directories-shown-as-leaf


GenRocket - Experts at Building Test Data
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JTree
 
Similar Threads
JTree
Subtree in JTree
JTree
Refreshing JTree
JTree