← Back to team overview

openjdk team mailing list archive

[Bug 255983] Re: openjdk label display in swing ui elements needs additional vertical space

 

Ether install tvbrowser from http://www.tvbrowser.org/  where my
attachments come from

or compile  JButtonDemo.java from

https://www-rz.uni-
hohenheim.de/anw/programme/prg/java/tutorials/javainsel4/javainsel_15_006.htm

you get a button which is not vertically centered as shown on the same
page (the picture there of course is taken from the "java reference
platform" windows-xp/vista/whatever ;-) ).

** Attachment added: "not-vertically-centered.png"
   http://launchpadlibrarian.net/18495058/not-vertically-centered.png

-- 
openjdk label display in swing ui elements needs additional 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-6” source package in Ubuntu: Incomplete

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