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 64944 - the font size used in Swing HTML Browser is too small to read
Summary: the font size used in Swing HTML Browser is too small to read
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: David Simonek
URL:
Keywords: UI
: 119022 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-23 07:10 UTC by pzgyuanf
Modified: 2008-12-22 12:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
my screenshot in Show Java Doc window (43.98 KB, image/png)
2005-09-23 07:13 UTC, pzgyuanf
Details
Linux screenshot (123.37 KB, image/png)
2005-09-27 12:50 UTC, _ rkubacki
Details
the result of the SwingSet (33.72 KB, image/png)
2005-09-27 13:57 UTC, pzgyuanf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pzgyuanf 2005-09-23 07:10:38 UTC
When useing the internal "Swing HTML Browser" to display relevant JavaDoc or
other HTML documentation, the font size is too small.
Yes, this should be the concern with HTMLEditorKit in JDK, but it is reasonable
to supply a way to set this option, such as the existing 'Font size setting' in
Options windows.

you can compare the result of "show javadoc" with other UI Controller in my
screenshot.

you may mention the external browser to do the same task, but I wouldn't like to
start a external process to do this every-and-heavy used task. (Because of
existance of Netbeans)


set the priority to P2 just because I hope it will be considerd shortly(though,
may be not implemented for the moment). please forgive me if you don't think so.

thanks

pprun
Comment 1 pzgyuanf 2005-09-23 07:13:18 UTC
Created attachment 25084 [details]
my screenshot in Show Java Doc window
Comment 2 Jan Becicka 2005-09-23 15:27:50 UTC
Core module is maintainer of Swing HTML Browser.
Comment 3 Jan Chalupa 2005-09-26 07:58:59 UTC
Radim, anything we can do here?
Comment 4 _ rkubacki 2005-09-27 12:50:22 UTC
Created attachment 25221 [details]
Linux screenshot
Comment 5 _ rkubacki 2005-09-27 13:08:47 UTC
It looks reasonably good on my Linux with both JDK1.4.2 and JDK1.5 (see the
attached screenshot). OTOH it is really small on Windows.

It might be worth to create a simple JEditorPane, set HTMLEditorKit there and
show some javadoc URL here to see if there is something realted to NetBeans.
AFAIK the kit loads defaults from javax/swing/text/html/default.css and for
javadoc there is also stylesheet.css in api folder that specifies some
properties. There is no code in NetBeans that intentionally changes this so it
is strange to me why <dd> elements that are based on style of <p> are so small
on Windows.

As this is WinOS specific I am passing this to Dafe. Also this is not a P2 - it
should be the same for several releases.
Comment 6 pzgyuanf 2005-09-27 13:55:19 UTC
Hi rkubacki,

You are right here.
I just ran the SwingSet and saw the maddening display result displaying in the
"source code" JPanel.(see the screenshot)

Would you like to contact with the Swing team or to file tan Enhancement
concerning it into JDK bug database?

thanks

-pprun

Comment 7 pzgyuanf 2005-09-27 13:57:21 UTC
Created attachment 25223 [details]
the result of the SwingSet
Comment 8 David Simonek 2005-10-27 13:09:42 UTC
Not sure I can do anything here...
Comment 9 David Simonek 2007-09-24 13:09:10 UTC
Passing to Standa, probably we should just enter JDK bug and close this as wontfix.
Comment 10 Stanislav Aubrecht 2007-09-25 15:25:13 UTC
passing back to dafe to enter the jdk bug (i don't have account)
Comment 11 David Simonek 2007-09-26 08:47:42 UTC
JDK bug entered, closing as wontfix.

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6609475
Comment 12 Stanislav Aubrecht 2007-10-22 08:35:16 UTC
*** Issue 119022 has been marked as a duplicate of this issue. ***