<Swing Dev> [13] RFR 7184956: [macosx] JPopupMenu.setDefaultLightPopupEneble(true) doesn't work correctly

semyon.sadetsky at oracle.com semyon.sadetsky at oracle.com
Thu May 30 22:05:27 UTC 2019


On 5/29/19 5:41 PM, Sergey Bylokhov wrote:

> On 29/05/2019 08:58, semyon.sadetsky at oracle.com wrote:
>> And why it shouldn't when the spec states the opposite? :
>>        * Some look and feels might always use heavyweight popups,
>>        * no matter what the value of this property.
>> Maybe the thing is that you just overlooked the specification?
>
> The spec does not say the opposite, if something is specified as 
> optional and may be ignored, does not mean that it should be ignored. 
OK, let's implement all possible features that is not disabled... Sounds 
just not sensible, isn't it?
> It should be somehow possible to switch from one type of popups to 
> another regardless which type of popups used by default, since it is 
> known that the applications use both types for a different reasons.
Again, it shouldn't. The spec is very clear about that point. Aqua L&F 
disables lightweight popups because they are alien.
>
>> If you haven't enough expertise in the area you should insist on your 
>> superficial suggestions to implement something and I shouldn't 
>> explain why they are not feasible many times here.
>
> Thank you for the suggestion.
>



More information about the swing-dev mailing list