this.setDisabledIcon(SubstanceImageCreator .toGreyscale(SubstanceImageCreator.makeTransparent( tree, this.getDefaultLeafIcon(), 0.5))); } else if (expanded) { this.setDisabledIcon(SubstanceImageCreator this.setEnabled(true); if (leaf) { this.setIcon(this.getDefaultLeafIcon()); } else if (expanded) { this.setIcon(this.getDefaultOpenIcon());
this.setDisabledIcon(SubstanceImageCreator .toGreyscale(SubstanceImageCreator.makeTransparent( tree, this.getDefaultLeafIcon(), 0.5))); } else if (expanded) { this.setDisabledIcon(SubstanceImageCreator this.setEnabled(true); if (leaf) { this.setIcon(this.getDefaultLeafIcon()); } else if (expanded) { this.setIcon(this.getDefaultOpenIcon());