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