← Back to team overview

openjdk team mailing list archive

[Bug 255983] Re: openjdk label display in swing ui elements takes up too much vertical space

 

@Matthias Klose:

I've tried this steps:

- boot from Jaunty's Kubuntu LiveCD (final release)
- set the language to 'Portuguese' at the boot screen
- installed openjdk (apt-get install openjdk-6-jdk)
- compile app (any swing app - this time I've used http://java.sun.com/docs/books/tutorial/uiswing/examples/components/ButtonDemoProject/src/components/ButtonDemo.java as João Neves did, just to make it simple)

 and the result is exactly the same as in his attachment
(https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/255983/comments/52),
with the exception of the windows decorations, as I've used KDE)

The locale of the machine is: "pt_PT.UTF-8"...

I believe that now you'll be able to reproduce it, just set your
language to Portuguese (or German, as Fritz mentioned) at the boot
screen.


** Attachment added: "snapshot1.png"
   http://launchpadlibrarian.net/25979074/snapshot1.png

-- 
openjdk label display in swing ui elements takes up too much  vertical space  
https://bugs.launchpad.net/bugs/255983
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.

Status in OpenJDK: Confirmed
Status in “openjdk-6” source package in Ubuntu: Fix Released
Status in openjdk-6 in Ubuntu Hardy: Triaged
Status in openjdk-6 in Ubuntu Intrepid: Triaged

Bug description:
i am on Ubuntu 8.04.1, effect is the same on i386 and amd64, Package: openjdk-6-jre, Version: 6b11-2ubuntu2

Swing UI elements (lists, labels) have additional vertical space, some applets user interfaces are therefore broken with openjdk. In contrast sun-java6-jre works fine with tvbrowser and other applets. I attached a good and a bad png-image. The java program to render the example is ugly but still useable with openjdk but i think the error is shown clearly in comparison of the bad openjdk.png with the good sun sun-java.png.



References