Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6668907
Votes 0
Synopsis JList line spacing has changed noticeably from 6u10-b11 to 6u10-b12
Category java:classes_swing
Reported Against b12
Release Fixed 6u10(b26)
State 10-Fix Delivered, bug
Priority: 3-Medium
Related Bugs 6668908 , 6668921 , 6668923 , 6668909 , 6668910 , 6668915 , 6668917 , 6668920 , 6668925 , 6668924 , 6668926 , 6687936
Submit Date 28-FEB-2008
Description
Test cases swing/Swing_de_SansSerif_BoldItalic_12_JList failed due to the different Line Spacing.

The font and size of text keep as same but the line spacing is various between the base picture and the home picture.

JDK: 6u10 b12
OS: WinXP_X86-GA
Locale: de
Tools: GS-Tonga_12.zip
Original Test Suite Location: /net/sqe1.sfbay/quality2/i18n/workspaces/i18n_mustang_ws/i18n/bundles/b12

Reproduce:
1. install 6u10 b12 as JAVA_HOME
2. install 6u10 b06 as JAVA_BASE
3. unzip GS-Tonga_b12.zip
4. setenv
5. sh runnit.sh -keywords:"ja&&\!manual"

Please refer to attachment for details.
Posted Date : 2008-02-28 09:01:29.0

I am changing the category, subcategory and synosis of this bug. I believe this is a issue with JList. The line spacing has changed noticeably from 6u10-b11 to 6u10-b12. I tested this on Windows XP in both german and english.

Please see the images attached. JList-6u10-b11.png was generated using b11 and JList-6u10-b12.png was generated using b12.  JList-diff.png shows the difference between the two.
Posted Date : 2008-03-08 02:42:17.0
Work Around
N/A
Evaluation
Please re run the test with newer Java base, eg. 6u10 b10 or b11
Posted Date : 2008-02-28 19:57:21.0

I don't see how it might happen with JList,
but I see that all 6u10-b12 Swing related fixes are for Nimbus

and one of it might be the reason of the problem,
e.g. 6595814 changes the DefaultListCellRenderer

reassigned to the Nimbus team to have their opinion
Posted Date : 2008-04-11 13:36:55.0

Richard Bair did the changes to List Renderers for Nimbus so I have passed it on to him to have a look.
Posted Date : 2008-04-14 13:25:53.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang