On 10.05.16 17:36, Alexandr Scherbatiy wrote:
Since both of these methods are public I am not sure how it will solve
the initial requested problem: enable HW popup w/o possibility of
change it by the user's code?
I believe that a user can do something like:
--------------
JPopupMenu popupMenu = new JPopupMenu();
popupMenu.setLightWeightPopupEnabled(true);
popupMenu.showPopup();
-------------
and it overrides the popup factory type.
The intention of this bug was to ignore this request, like it was done
by Aqua right now.
Probably the JPopupMenu.showPopup() should be updated to create a popup
with necessary type without rewriting the type from popup factory.
--
Best regards, Sergey.