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 46703 - [A11Y] dialog text size didn't change with --fonsize
Summary: [A11Y] dialog text size didn't change with --fonsize
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords: A11Y
Depends on:
Blocks:
 
Reported: 2004-07-28 14:47 UTC by Lukas Hasik
Modified: 2008-12-22 19:28 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
dConfirm delete dialog screenshot with fonsize 20 (10.08 KB, image/png)
2004-07-28 14:48 UTC, Lukas Hasik
Details
Bug fix (855 bytes, patch)
2004-09-20 11:57 UTC, Stanislav Aubrecht
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Hasik 2004-07-28 14:47:58 UTC
not sure if this dialog belongs to explorer, feel
free to reassign

see screenshot
Comment 1 Lukas Hasik 2004-07-28 14:48:52 UTC
Created attachment 16525 [details]
dConfirm delete dialog screenshot with fonsize 20
Comment 2 Petr Nejedly 2004-07-28 15:59:02 UTC
It is standard NotifyDescriptor.Confirmation, whose UI is handled by
the core implementation of DialogDisplayer.

Comment 3 Milos Kleint 2004-08-18 09:20:43 UTC
reassigning.
Comment 4 Milos Kleint 2004-08-19 10:52:21 UTC
Lukas can you easily reproduce this? I cannot.
there is no special handling of fonts in the affected components. also
the L&F customs seem also ok.

closing as worksforme, include more details (platform, jdk, build,
steps) how to reproduce when it happens to you again.
Comment 5 Lukas Hasik 2004-08-25 16:32:49 UTC
F:\aaa>nb.exe --jdkhome c:\jdk1.5.0 --userdir f:\bbbb --fontsize 20
-------------------------------------------------------------------------------
>Log Session: Wednesday, August 25, 2004 5:22:34 PM CEST
>System Info:
  Product Version       = NetBeans IDE Dev (Build 200408241800)
  Operating System      = Windows XP version 5.1 running on x86
  Java; VM; Vendor      = 1.5.0-beta3; Java HotSpot(TM) Client VM
1.5.0-beta3-b57; Sun Microsystems Inc.

or 

  Java; VM; Vendor      = 1.4.2_04; Java HotSpot(TM) Client VM
1.4.2_04-b05; Sun Microsystems Inc.

and just try to delete something in any project -> the dialog from
screenshot appears
Comment 6 Milos Kleint 2004-08-27 10:18:45 UTC
is probably OS specific. seems ot work for me on linux.
Comment 7 Milos Kleint 2004-08-27 10:22:13 UTC
Dafe, can you please take a look at it? thanks. you have a winxp setup.
Comment 8 David Simonek 2004-09-17 11:34:10 UTC
Passing to Standa, further info for him:

1) To run Netbeans with bigger fonts, use --fonsize 20 as Lukas wrote
2) Dig in core module, around DialogDisplayer class as Petr wrote.
3) Error could be that somewhere font size is hardcoded, which is wrong.
Comment 9 Stanislav Aubrecht 2004-09-20 11:57:39 UTC
Created attachment 17751 [details]
Bug fix
Comment 10 Stanislav Aubrecht 2004-09-20 11:58:31 UTC
dafe, pls review my fix, thanx.
Comment 11 David Simonek 2004-09-21 14:43:07 UTC
Yes, fix is OK, it's only one line that completes netbeans font
mapping. Please go ahead and commit the fix.
Comment 12 Stanislav Aubrecht 2004-09-22 15:05:30 UTC
fixed in org.netbeans.swing.plaf.AllLFCustoms
Comment 13 Marian Mirilovic 2005-12-20 15:51:31 UTC
This issue was solved long time ago. Because nobody has reopened it neither
added comments, we are verifying/closing it now. 
If you are still able to reproduce the problem, please reopen. Thanks in advance.