<Swing Dev> [OpenJDK 2D-Dev] <AWT Dev> Bad component spacing
Igor Nekrestyanov
Igor.Nekrestyanov at Sun.COM
Thu Nov 6 17:47:40 UTC 2008
This is likely to be same as
http://monaco.sfbay.sun.com/detail.jsf?cr=6761856
that was recently fixed and did not make it into main openjdk ws yet but
you can pull these changes from 2D workspace to test.
-igor
Artem Ananiev wrote:
> Hi, Marek,
>
> as your test uses Swing menus, it looks like a Swing (or probably
> Java2D, because of font metrics) problem, rather than AWT one.
>
> Thanks,
>
> Artem
>
> Marek Slama wrote:
>> Hello,
>>
>> we encounter problem with too big spacing around text in Swing
>> components in openjdk. I attach
>> 2 snapshots of MenuLookDemo on openjdk and Sun JDK 6u10 on Ubuntu
>> 8.10/Metal L&F. I was pointed
>> to this maling list. Is it known problem? I do not know if it is
>> specific to Ubuntu only.
>>
>> java version "1.6.0_10"
>> Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
>> Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing)
>>
>> java version "1.6.0_0"
>> IcedTea6 1.3.1 (6b12-0ubuntu6) Runtime Environment (build 1.6.0_0-b12)
>> OpenJDK Client VM (build 1.6.0_0-b12, mixed mode, sharing)
>>
>> Both use the same font:
>> javax.swing.plaf.FontUIResource[family=Dialog,name=Dialog,style=bold,size=12]
>>
>>
>> Original issue report is https://bugs.launchpad.net/bugs/289784
>>
>> Thanks
>>
>> Marek
More information about the swing-dev
mailing list