This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 78733 - I18N - param fontsize had no effect on file list in JFileChooser on Win L&F
Summary: I18N - param fontsize had no effect on file list in JFileChooser on Win L&F
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: mslama
URL:
Keywords: A11Y, I18N
Depends on:
Blocks: 78730
  Show dependency tree
 
Reported: 2006-06-21 09:33 UTC by Pavel Rehak
Modified: 2008-12-22 10:01 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (257.94 KB, image/jpeg)
2006-06-21 09:33 UTC, Pavel Rehak
Details
screenshot from 5.5.1 (181.92 KB, image/png)
2007-10-08 20:26 UTC, Petr Chytil
Details
screenshot from dev build (185.12 KB, image/png)
2007-10-08 20:27 UTC, Petr Chytil
Details
add to favorites dialog screenshot from dev build (100.42 KB, image/png)
2007-10-11 09:31 UTC, Petr Chytil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Rehak 2006-06-21 09:33:10 UTC
Product Version         = NetBeans 5.5 Dev (Build 200606090200)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor; Home  = 1.5.0_07; Java HotSpot(TM) Client VM 1.5.0_07-b02;
Sun Microsystems Inc.; F:\Java\jdk1.5.0_07\jre
  System Locale; Encoding = ja_JP (nb); MS932
--
i'm running at larger fontsize of 16 (-fontsize 16 param), using pseudolocalized
nb5.5 with jappanise locales and all system windows 
(for select file/project/jar/zip etc ..) have old fontsize (no matter what size
i put as parametr) 
see attachment
Comment 1 Pavel Rehak 2006-06-21 09:33:42 UTC
Created attachment 31250 [details]
screenshot
Comment 2 David Simonek 2006-06-28 17:10:45 UTC
Hmmit's inside JFileChooser, inside Swing - maybe thay are hardcoding the font
somehow.
Comment 3 _ rkubacki 2006-07-21 15:36:11 UTC
We create this dialog in projects/projectui but I'd say this will be general
Swing issue. 
Comment 4 David Simonek 2007-09-24 13:19:36 UTC
Passing to Marek...
Comment 5 Ken Frank 2007-09-24 15:12:26 UTC
is this still a problem ?

I can't tell from the gif what windows are affected; I am guessing
if its a problem its not an i18n one in this case if windows
dont show at chosen fontsize.

ken.frank@sun.com
Comment 6 mslama 2007-09-24 16:57:22 UTC
It works fine on Metal L&F on Linux, JDK 7 b20. It looks like WinXP L&F specific issue. Passing to Standa who uses Win
XP to evaluate.
Comment 7 mslama 2007-09-24 17:00:24 UTC
I used latest dev build. Though many places in IDE now uses new directory chooser eg. Favorites -> Add to favorites
still uses Swing JFileChooser.
Comment 8 Stanislav Aubrecht 2007-09-24 17:11:00 UTC
reproduced on winxp
Comment 9 mslama 2007-09-25 12:10:42 UTC
Filed to Bugtraq against JDK/Swing/JFileChooser as http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6608788. If there
other component showing this problem file separate issue. Problem is that JFileChooser ignores UIManager property
"List.font" on Win L&F.
Comment 10 mslama 2007-10-05 15:55:48 UTC
Response from JDK: We should use UIManager property FileChooser.listFont for JFileChooser file list. I tested it and it
works.
Comment 11 mslama 2007-10-05 16:01:44 UTC
Modified:
/cvs/core/swing/plaf/src/org/netbeans/swing/plaf/AllLFCustoms.java
new revision: 1.14; previous revision: 1.13
Comment 12 mslama 2007-10-05 16:03:17 UTC
Petr please check on Windows Vista. Thanks.
Comment 13 Petr Chytil 2007-10-08 20:24:41 UTC
I've checked both daily 5.5.1 (Build 200710072350) and latest dev (Build 200710081200) on Vista. You can see results in
attached screenshots.
Comment 14 Petr Chytil 2007-10-08 20:26:00 UTC
Created attachment 50430 [details]
screenshot from 5.5.1
Comment 15 Petr Chytil 2007-10-08 20:27:16 UTC
Created attachment 50431 [details]
screenshot from dev build
Comment 16 mslama 2007-10-09 07:36:24 UTC
Petr please use Add to Favorites action from Favorites tab to test JFileChooser. Open project action uses our own
directory chooser ie. *NOT* original Swing JFileChooser.
Comment 17 Petr Chytil 2007-10-11 09:31:50 UTC
Created attachment 50667 [details]
add to favorites dialog screenshot from dev build
Comment 18 kaa 2007-10-17 16:05:11 UTC
Open file and Open project dialogs are looking ok with font size 16.
buil 1016, XP.ja_JP
Comment 19 Ken Frank 2007-10-17 16:56:18 UTC
pchytil

can you confirm its ok now using latest nb build ?

if so, we can verify this issue.

ken.frank@sun.com