Code would have to be changed to make it do that. I’m suggesting that is the right hook, but it is up to you to use it.
Presumably as Swing is part of the JDK, access can be arranged... > On Oct 20, 2017, at 10:01 AM, Prasanta Sadhukhan > <prasanta.sadhuk...@oracle.com> wrote: > > I do not see how updateGraphicsData() woud trigger layout/span calculation. > Moreover, it has package-protected access to be called for JLabel. > > Regards > Prasanta