On 28/05/2019 09:19, semyon.sadet...@oracle.com wrote:
Hi Sergey, I think your understanding of the lightWeightPopupEnabled property purpose is not fully correct. The specification of the property is very clear on that: /** * Sets the value of the <code>lightWeightPopupEnabled</code> property, * which by default is <code>true</code>. * By default, when a look and feel displays a popup, * it can choose to * use a lightweight (all-Java) popup. * Lightweight popup windows are more efficient than heavyweight * (native peer) windows, * but lightweight and heavyweight components do not mix well in a GUI. * If your application mixes lightweight and heavyweight components, * you should disable lightweight popups. * Some look and feels might always use heavyweight popups, * no matter what the value of this property. */ So, there is nothing to implement in Aqua L&F about it.
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. It is know that such lw-popups are used by some applications, an example is here: https://bugs.openjdk.java.net/browse/JDK-7156657 It seems it is not possible to implement the same appearance it in Aqua? -- Best regards, Sergey.