Hi Mario,
2012/4/2 Pavel Porvatov<pavel.porva...@oracle.com>:
Hi Mario,
I'd suggest to change the javax.swing.JPopupMenu#getPopup method:
if (isLightWeightPopupEnabled()) {
popupFactory.setPopupType(PopupFactory.LIGHT_WEIGHT_POPUP);
}
else {
popupFactory.setPopupType(PopupFactory.HEAVY_WEIGHT_POPUP); //
Replaced MEDIUM_WEIGHT_POPUP
}
I don't see any regressions, what do you think about that?
Regards, Pavel
Hi Pavel!
Sorry for the delay, for some reason I didn't see this reply right away...
Yes, I was thinking something along the lines, since I doubt that LAF
really care about this specific property.
Which property do you mean? If isLightWeightPopupEnabled property is set
to false we can set HEAVY_WEIGHT_POPUP (I don't know reasons why we
can't do that)
Would you like to commit this or do you want me to prepare a formal patch?
I need a patch with a test of the fix. But at first you should read the
following doc
http://openjdk.java.net/contribute/
Regards, Pavel