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 46872 - Incorrect font used in Fix Imports dialog and elsewhere
Summary: Incorrect font used in Fix Imports dialog and elsewhere
Status: CLOSED INVALID
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 4.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: David Simonek
URL:
Keywords: JDK_SPECIFIC
Depends on:
Blocks:
 
Reported: 2004-08-03 20:40 UTC by Jesse Glick
Modified: 2008-12-22 20:35 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot (12.31 KB, image/png)
2004-08-03 20:40 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2004-08-03 20:40:00 UTC
The label at the top of this dialog now appears in
the wrong font, different from normal labels.
Something to do with use of HTML in the label I
presume. 040803, b60, Ocean. A regression either
in NB or in the JDK - which? I know Trung put in
some kind of patch recently that could affect any
HTML label in the IDE.
Comment 1 Jesse Glick 2004-08-03 20:40:43 UTC
Created attachment 16630 [details]
Screenshot
Comment 2 Jesse Glick 2004-08-03 20:56:20 UTC
Actually, just noticed it too in the window switch dialog (Ctrl-TAB).
The label of a modified file appeared in a much larger font than the
other files. Looks quite ugly. I am using -J-Dnb.tabnames.html=true.
Note that the label in the actual window - where we presumably use
Tim's HTML renderer - is fine. The problem is in places that seem to
use Swing HTML rendering.

Occurs only w/ b60, not b59 (nor for that matter 1.4.2_04). So some
kind of JDK regression I presume, or perhaps a fix that interacts
poorly with our hackarounds.
Comment 3 Jesse Glick 2004-08-03 20:57:22 UTC
BTW I run Fedora Core 2, with a stock set of fonts.
Comment 4 _ ttran 2004-08-03 21:14:09 UTC
the CSS hack is activated when you invoke code completion popup, new
project or new file wizard.  If you start the IDE fresh and see this
problem then it's JDK.  If no then I have my share in it.  For the
record I also notice there is some change in HTML Swing renderer
recently (?).  Even though my CSS hack sets the <body> font to Dialog
_sometime_ the font use in template desc and javadoc popup is still
serif which is not Dialog font
Comment 5 _ ttran 2004-08-03 21:16:02 UTC
what I said is true for 1.5 only.  1.4.2_05 always works correctly
Comment 6 Jesse Glick 2004-08-04 00:20:34 UTC
May be bug #5082064?
Comment 8 _ ttran 2004-08-04 10:35:27 UTC
JDK team  confirmed this is a bug on their side
Comment 9 Marian Mirilovic 2004-08-04 10:40:05 UTC
verified