HI Sergey,
I am not sure why which requires some investigation. I see none of the
Synth*UI class has caching, maybe it was done intentionally. Since it is
quite close to RDP1 and there are other issues need to be fixed, I would
like to defer this investigation after RDP2 (when the jdk13 ws would be
opened). Meanwhile, I would like this fix to go in as it breaks
SwingSet2 demo.
Regards
Prasanta
On 22-Nov-18 1:47 AM, Sergey Bylokhov wrote:
Hi, Prasanta
On 21/11/2018 02:27, Prasanta Sadhukhan wrote:
where caching of SynthButtonUI is done. It seems caching of button ui
object causes SynthButtoUI.getMinimumSize() to be called again
whereas without caching, the SynthButtonUI class is not invoked when
Container.layout() lay outs the components when we switch L&F from
nimbus to something else.
Why caching works for other looks&feels?