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.
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
Created attachment 31250 [details] screenshot
Hmmit's inside JFileChooser, inside Swing - maybe thay are hardcoding the font somehow.
We create this dialog in projects/projectui but I'd say this will be general Swing issue.
Passing to Marek...
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
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.
I used latest dev build. Though many places in IDE now uses new directory chooser eg. Favorites -> Add to favorites still uses Swing JFileChooser.
reproduced on winxp
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.
Response from JDK: We should use UIManager property FileChooser.listFont for JFileChooser file list. I tested it and it works.
Modified: /cvs/core/swing/plaf/src/org/netbeans/swing/plaf/AllLFCustoms.java new revision: 1.14; previous revision: 1.13
Petr please check on Windows Vista. Thanks.
I've checked both daily 5.5.1 (Build 200710072350) and latest dev (Build 200710081200) on Vista. You can see results in attached screenshots.
Created attachment 50430 [details] screenshot from 5.5.1
Created attachment 50431 [details] screenshot from dev build
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.
Created attachment 50667 [details] add to favorites dialog screenshot from dev build
Open file and Open project dialogs are looking ok with font size 16. buil 1016, XP.ja_JP
pchytil can you confirm its ok now using latest nb build ? if so, we can verify this issue. ken.frank@sun.com