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 128475 - I18N - JMS Resource wizard has empty string in bundle.
Summary: I18N - JMS Resource wizard has empty string in bundle.
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Nitya Doraisamy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-26 17:58 UTC by kaa
Modified: 2008-03-06 14:34 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
image (85.48 KB, image/jpeg)
2008-02-26 17:58 UTC, kaa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kaa 2008-02-26 17:58:30 UTC
Product Version: NetBeans IDE Dev (Build 200802191203)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05
System: Windows XP version 5.1 running on x86; MS932; ja_JP (nb)

Steps:
1. Create EJB Module
2. Open from the pop-up File -> New -> Other -> GlassFish
3. Select JMS Resource
4. Press Next

There is a message not properly visible.
I couldn't find this message in eng locale. Probably it is represented by empty string.

Assumption is that user does not need to manually resize most windows or dialogs to see all of the UI objects and
information in them. I'm running in pseudo localized locale in which each message/label is sometimes longer than in
English. To account for that in some locales, translations from English (and some other euro languages) could be shown
with longer strings. Also I'm running at font size 16, which is viewed as a valid font size that might be used. Resizing
issues are not just related to i18n; they might show to user in English locale if they run at larger font size. Often,
these issues happen because the length of some label or message or size of entire window is hardcoded vs using layout
managers or other techniques or api to have the windows or the objects in them, dynamically resize. Sometimes, embedding
components in a scroll pane will solve the problem.
Comment 1 kaa 2008-02-26 17:58:54 UTC
Created attachment 57293 [details]
image
Comment 2 kaa 2008-02-26 18:00:59 UTC
Looks like the message has only mbyte prefix.
Manual resizing didn't help to show suffix of the message.
Comment 3 Nitya Doraisamy 2008-02-29 19:06:29 UTC
The panel error message is trying to set an empty string and stupidly, I seem to have put that in the bundle key
Can you confirm that the value you are seeing in ja locale is the value from bundle key : Empty_String

No reason for this to be in the bundle. Will remove and update the error display correctly.

Changing the description of the IZ - this has nothing to do with resizing.
Comment 4 Nitya Doraisamy 2008-03-02 19:58:11 UTC
Fixed
http://hg.netbeans.org/main/rev/3ce76249b746

Marked the bundle key (Empty_String) with #NOI18N. Should not be localized.
Decided against removing it from the bundle, used in multiple wizards.
Comment 5 kaa 2008-03-06 14:34:15 UTC
Product Version: NetBeans IDE 6.1 Beta (Build 200803041230)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05
System: Windows XP version 5.1 running on x86; MS932; ja_JP