[Java-gnome-developer] How to show the Folders Tree using TreeView
Brought to you by:
afcowie
From: Miroslav N. <mi...@sp...> - 2006-07-05 13:52:47
|
Hi, How to show the Folders (Directories) Tree using TreeView? My question sound very simple but it is not. If I create the folder tree from the begining the task is very easy. The problem is that in the real world it is not possible to load whole folder tree because the folders are too many and the memory is limited. That's why is is better to load the folders that are just 1 or 2 level deep for the current node. To do that I try to use "row_expand" event, but unfortunately I am not notified for this event. So, my question is how to visualize the folders tree with Java GTK? My environment is: libgtk-java-2.6.2.jar libgtkjni-2-6.dll libglade-java-2.10.1.jar libgladejni-2-10.dll JDK 1.5 Best Regards, Miroslav Nachev |