<Swing Dev> [13] RFR JDK-8213535:Windows HiDPI html lightweight tooltips are truncated
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Mon Apr 20 15:24:43 UTC 2020
On 4/20/20 2:40 am, Prasanta Sadhukhan wrote:
> http://cr.openjdk.java.net/~psadhukhan/8213535/webrev.4/
>
> used the right GC for the tip but we still need the preferredSize in the paint()
Why do we need it? Do we calculate the size in the ToolTipManager.showTipWindow() incorrectly?
We call tip.getPreferredSize() there, does it return different result than in the paint() method?
--
Best regards, Sergey.
More information about the swing-dev
mailing list