<AWT Dev> [10] Review Request: 8187639 TrayIcon is not properly supported on macOS in multi-screen environment

Semyon Sadetsky semyon.sadetsky at oracle.com
Thu Oct 26 15:26:08 UTC 2017

On 10/25/2017 06:49 PM, Sergey Bylokhov wrote:

> On 16/10/2017 12:14, semyon.sadetsky at oracle.com wrote:
>> But what to do with compatibility issues? Do you provide any options 
>> to run existing applications?
> The existing applications will use the new functionality which behaves 
> like the old ones. The appearance of the message itself will differ 
> but after the fix it will look like the native message, even before 
> the fix the appearance was different on different platforms.
I'm not sure that it will behave as before since that was a swing 
component which uses Swing L&F, so at least the appearance is changed by 
the fix.

Yet another thing is localization.  Before the fix the message was shown 
in java locale which may differ from the native locale, now it is always 
follows the native locale and there is no way to change it from java.

This may cause unexpected changes in the existing applications, so I 
suppose it is reasonable to introduce a compatibility property that 
allows switching to the previous behavior. At a minimum, this should be 
mentioned in compatibility section of the release notes.


More information about the awt-dev mailing list