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 154566 - I18N: some multi-byte characters can't be correctly displayed
Summary: I18N: some multi-byte characters can't be correctly displayed
Status: NEW
Alias: None
Product: soa
Classification: Unclassified
Component: Binding Components (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: Venkat Chellasamy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-04 08:57 UTC by Ming Zhou
Modified: 2009-06-09 21:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
bug screenshot (110.85 KB, image/png)
2008-12-04 08:59 UTC, Ming Zhou
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ming Zhou 2008-12-04 08:57:01 UTC
Steps:
 1. install Java CAPs 6u1 ml build
 2. create a WSDL document -> In WSDL Type, choose "Concrete WSDL Document";
 in Binding choose "FILE", "FTP",or "JMS" -> Click on Next

 Result:
 Observe some multi-byte characters are displayed in white box. 
 For some binding components, continue clicking Next in the wizard or choosing
 different tabs in one page, more white boxes can be seen. 
 Refer to the attachment.

 * Suspect the font settings for some strings are improper.
 ** This is serious as the user may not be able to guess what each section is for.
Comment 1 Ming Zhou 2008-12-04 08:59:26 UTC
Created attachment 74517 [details]
bug screenshot
Comment 2 rajesh_mohapatra 2008-12-04 09:42:41 UTC
Tested with RC1 build of JCAPS R6 U1. I could reproduce this on Windows 2003 (zh_CN) also.
This causes bad user experience.

We did some evaluation. And looks like the code sets font for these labels explicitly to Tahoma. 

connectionSectionLabel.setFont(new java.awt.Font("Tahoma", 1, 11));

Code should not hardcode the font rather use system's default font for the locale.
We think this could be the reason of labels displayed as square boxes.

Instead the code do something like this.
descLabel.setFont(descLabel.getFont().deriveFont(descLabel.getFont().getStyle() | java.awt.Font.BOLD));

See
wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/configeditor/panels/DBBindingConfigurationPanel.java
for reference.

Note that the same issues occurs for LDAP, JMS, File and FTP Binding Components.
Comment 3 Sergey Lunegov 2008-12-10 15:19:37 UTC
Related to JCAPS 6 U1 distribution. Not to NB 7.0
Comment 4 Marian Mirilovic 2009-02-20 18:04:35 UTC
update no67 keyword