Browse Source

下拉树北京

master
hzzz 7 years ago
parent
commit
01d57c1331
  1. 2
      designer_base/src/com/fr/design/roleAuthority/RoleTree.java
  2. 4
      designer_base/src/com/fr/design/roleAuthority/RolesAlreadyEditedPane.java

2
designer_base/src/com/fr/design/roleAuthority/RoleTree.java

File diff suppressed because one or more lines are too long

4
designer_base/src/com/fr/design/roleAuthority/RolesAlreadyEditedPane.java

@ -39,6 +39,7 @@ public class RolesAlreadyEditedPane extends JPanel {
THIS = new RolesAlreadyEditedPane();
}
return THIS;
}
@ -59,7 +60,6 @@ public class RolesAlreadyEditedPane extends JPanel {
// this.add(northPane, BorderLayout.NORTH);
rolesEditedPane = new RolesEditedPane();
this.add(rolesEditedPane, BorderLayout.CENTER);
}
public RoleTree getRoleTree() {
@ -102,7 +102,7 @@ public class RolesAlreadyEditedPane extends JPanel {
// 这里新建一个Label作为render是因为JTree在动态刷新的时候,节点上render画布的的宽度不会变,会使得一部分比较长的数据显示为"..."
this.setBackgroundNonSelectionColor(UIConstants.NORMAL_BACKGROUND);
this.setBackgroundNonSelectionColor(UIConstants.TREE_BACKGROUND);
this.setForeground(UIConstants.FONT_COLOR);
this.setBackgroundSelectionColor(UIConstants.FLESH_BLUE);
return this;

Loading…
Cancel
Save