[Schmitzm-commits] r2089 - trunk/schmitzm-core/src/main/java/de/schmitzm/swing/tree
scm-commit at wald.intevation.org
scm-commit at wald.intevation.org
Sun Sep 30 00:50:56 CEST 2012
Author: mojays
Date: 2012-09-30 00:50:56 +0200 (Sun, 30 Sep 2012)
New Revision: 2089
Modified:
trunk/schmitzm-core/src/main/java/de/schmitzm/swing/tree/DirectoryTree.java
Log:
Modified: trunk/schmitzm-core/src/main/java/de/schmitzm/swing/tree/DirectoryTree.java
===================================================================
--- trunk/schmitzm-core/src/main/java/de/schmitzm/swing/tree/DirectoryTree.java 2012-09-29 22:42:01 UTC (rev 2088)
+++ trunk/schmitzm-core/src/main/java/de/schmitzm/swing/tree/DirectoryTree.java 2012-09-29 22:50:56 UTC (rev 2089)
@@ -149,6 +149,8 @@
* the root folders
*/
public DirectoryTreeModel(File rootDir) {
+ // askAllowsChildren = true, damit Blaetter (Verzeichnisse ohne weitere
+ // Unterverzeichnisse) als Ordner dargestellt werden und nicht als Punkt (Blatt)
super( new DirectoryTreeNode(rootDir), true );
}
}
More information about the Schmitzm-commits
mailing list