From 64de3e05a8b0b00697b277dbf5064abd16f73cce Mon Sep 17 00:00:00 2001 From: "yaoh.wu" Date: Wed, 23 May 2018 10:14:03 +0800 Subject: [PATCH] doc --- .../src/com/fr/design/gui/itree/filetree/EnvFileTree.java | 1 + 1 file changed, 1 insertion(+) diff --git a/designer-base/src/com/fr/design/gui/itree/filetree/EnvFileTree.java b/designer-base/src/com/fr/design/gui/itree/filetree/EnvFileTree.java index 1f81296b0d..c9077b775e 100644 --- a/designer-base/src/com/fr/design/gui/itree/filetree/EnvFileTree.java +++ b/designer-base/src/com/fr/design/gui/itree/filetree/EnvFileTree.java @@ -48,6 +48,7 @@ public class EnvFileTree extends RefreshableJTree { this.setFileNodeFilter(filter); this.setSubPathes(subPathes); + /*一些自己的 init 放在这里,防止直接错误重写了父类的 init 方法导致子类不能使用 CheckBoxTree 的一些特性。*/ this.putClientProperty("JTree.lineStyle", "Angled"); this.setCellRenderer(fileTreeCellRenderer);