<AWT Dev> [9] Review Request: JDK-8007220 [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Mon Dec 16 04:38:33 PST 2013


Hi, Petr.
Since you add new call to addNotify(), can you check that we call 
removeNotify when necessary?

On 16.12.2013 16:02, Petr Pchelko wrote:
> Hello, AWT Team.
>
> Please review the fix for the issue:
> https://bugs.openjdk.java.net/browse/JDK-8007220
> The fix is available at:
> http://cr.openjdk.java.net/~pchelko/9/8007220/webrev/
>
> The problem: the CTrayIcon.popup field was set only in a constructor, but it should be updated every time the popup is opened.
>
> With best regards. Petr.


-- 
Best regards, Sergey.



More information about the awt-dev mailing list