<Swing Dev> [8] Review request for 8014924 JToolTip#setTipText() sometimes (very often) not repaints component.

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Wed May 22 15:36:54 UTC 2013


Hi, Alexander.
Why it is necessary to call revalidate if string was changed from null 
to null?
Why not just use !Objects.equals(tipText, oldValue)?

On 22.05.2013 17:48, Alexander Scherbatiy wrote:
>
> Hello,
>
> Could you review the fix:
>   bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8014924
>   webrev: http://cr.openjdk.java.net/~alexsch/8014924/webrev.00
>
> The fix adds missed revalidate() and repaint() methods to the 
> JToolTip.setTipText() method.
>
>   Thanks,
> Alexandr.
>


-- 
Best regards, Sergey.




More information about the swing-dev mailing list