<Swing Dev> Force JPopup to be always heavyweight
Pavel Porvatov
pavel.porvatov at oracle.com
Mon Apr 16 14:18:09 UTC 2012
Hi Mario,
> 2012/4/16 Pavel Porvatov<pavel.porvatov at oracle.com>:
>> Hi Mario,
> Hi Pavel,
>
>> 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 just meant to provide a fallback for the "old" MEDIUM_WEIGHT_POPUP
> code, but as I said I doubt is needed.
>
>> I need a patch with a test of the fix. But at first you should read the
>> following doc
>> http://openjdk.java.net/contribute/
> Yep, I'm familiar with this.
>
> Should I reuse this bug ID right?
Yes, I think in this situation that's possible
>
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6800513
>
> About the test, I'm not sure if you need something more specific, but
> I was thinking to simply test if when isLightWeightPopupEnabled is set
> we create an heavy or lightweight popup, any other ideas?
That's a good way I think
Regards, Pavel
More information about the swing-dev
mailing list