@Override public Icon getLockIcon(Component c) { return SubstanceImageCreator.makeTransparent(null, SubstanceImageCreator.getSmallLockIcon( SubstanceColorSchemeUtilities.getColorScheme(null, ComponentState.ENABLED), c), 0.3); }
@Override public Icon getLockIcon(Component c) { return SubstanceImageCreator.makeTransparent(null, SubstanceImageCreator.getSmallLockIcon( SubstanceColorSchemeUtilities.getColorScheme(null, ComponentState.ENABLED), c), 0.3); }
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)));