On Wed, 10 Jan 2024 12:31:57 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> wrote:
>> I tried with this approach first but images didn't render at all. > > I guess those might be null at class initialisation stage so it didn't > render..you can try > > expandedIconWrapper = new IconWrapper(expandedIcon); > collapsedIconWrappr - new IconWrapper(collapsedICon); > > in updateStyle() where it sets > > setExpandedIcon(style.getIcon(context, "Tree.expandedIcon")); > setCollapsedIcon(style.getIcon(context, "Tree.collapsedIcon")); Updated. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/17294#discussion_r1448302768