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

semyon.sadetsky at oracle.com semyon.sadetsky at oracle.com
Wed May 29 15:58:31 UTC 2019


On 5/28/19 3:56 PM, Sergey Bylokhov wrote:

> On 28/05/2019 15:19, semyon.sadetsky at oracle.com wrote:
>>> I guess the spec above is from the different method, which is not 
>>> used in the test? But as of the spec for 
>>> setDefaultLightWeightPopupEnabled()/getDefaultLightWeightPopupEnabled() 
>>> we of course work according to the specification, but it does not 
>>> mean that we should not implement/change the optional part. 
>> Did you mean that *the default* value of some property has more 
>> priority then the value of the property it-self? This sounds very 
>> strange to me.
>
> I said nothing about the property itself, I just point that the method 
> which is called in the test setDefaultLightWeightPopupEnabled() is 
> eventually ignored, but it should not.
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?
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.


More information about the swing-dev mailing list