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