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 146180 - JDK 1.6.0u10 RC does show wrong font size in the editor
Summary: JDK 1.6.0u10 RC does show wrong font size in the editor
Status: RESOLVED DUPLICATE of bug 137919
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-04 13:24 UTC by didgeridoo
Modified: 2008-09-04 13:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description didgeridoo 2008-09-04 13:24:50 UTC
This error occurs in Netbeans 6.1.
This error does *not* occur in Netbeans 6.5 beta.

In JDK 1.6.0u06 the default form editor font-size for JLabels is "Dialog 12 Bold".

When using the new JDK version 1.6.0u10 all old labels having the default form editor font-size are displayed as "Dialog
11 Plain". When opening old forms with non-default-font labels, those fonts are still the same.

When starting an application with this Panel, all default label, check box and radio button fonts are "Dialog 12 Bold".

Steps to reproduce:
- Start Netbeans with JDK 1.6.0u06
- Create a new JPanel and add two labels. Change the second labels font to "Dialog 12 Italic"
- Restart Netbeans with the new JDK version 1.6.0u10 and open the JPanel again
- The first label uses "Dialog 11 Plain", while the second one uses "Dialog 12 Italic".
Comment 1 Jan Stola 2008-09-04 13:53:03 UTC
This issue was fixed already.

*** This issue has been marked as a duplicate of 137919 ***