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

Summary: JDK 1.6.0u10 RC does show wrong font size in the editor
Product: guibuilder Reporter: didgeridoo <didgeridoo>
Component: CodeAssignee: issues@guibuilder <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

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 ***