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.
Created attachment 139355 [details] screenshot on Product Version: NetBeans IDE Dev (Build 201308270001) Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b17 Please refer to the screenshot. On "Choose JavaFX Application Class" dialog, Japanese characters become rectangles because of setting hardcoded ascii fonts or setting to ITALIC. Please do not use any ascii fonts or ITALIC because the font availability may depend on language and platform (e.g. linux). ./src/org/netbeans/modules/javafx2/project/ui/JSEApplicationClassChooser.java: labelMessage.setFont(new java.awt.Font("Tahoma", 2, 11)); // NOI18N ./src/org/netbeans/modules/javafx2/project/ui/JSEApplicationClassChooser.form: <Font name="Tahoma" size="11" style="2"/> ./src/org/netbeans/modules/javafx2/project/ui/JFXApplicationClassChooser.java: labelScanning.setFont(labelScanning.getFont().deriveFont((labelScanning.getFont().getStyle() | java.awt.Font.ITALIC), labelScanning.getFont().getSize()+1)); ./src/org/netbeans/modules/javafx2/project/ui/JFXApplicationClassChooser.form: <Font component="labelScanning" italic="true" property="font" relativeSize="true" size="1"/> ./src/org/netbeans/modules/javafx2/project/ui/JFXRunPanel.java: //Font emphfont = basefont != null ? basefont.deriveFont(Font.ITALIC) : null; ./src/org/netbeans/modules/javafx2/project/ui/JFXRunPanel.java: label.setFont(basefont.deriveFont(Font.ITALIC)); ./src/org/netbeans/modules/javafx2/project/ui/JFXRunPanel.java: //final Font emphfont = basefont.deriveFont(Font.ITALIC);
fixed in jet-main: http://hg.netbeans.org/jet-main/rev/939767f25f28
Integrated into 'main-silver', will be available in build *201309010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/939767f25f28 User: Roman Svitanic <rsvitanic@netbeans.org> Log: #235157 - I18N: Japanese characters become rectangles because of setting tahoma/italic