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 137471 - I18N - hibernate-reverse-engineering wizard doesn't resize to show all of its text labels
Summary: I18N - hibernate-reverse-engineering wizard doesn't resize to show all of its...
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Hibernate (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ gowri
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2008-06-17 18:08 UTC by kaa
Modified: 2008-09-03 19:17 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
image (84.54 KB, image/jpeg)
2008-06-17 18:09 UTC, kaa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kaa 2008-06-17 18:08:41 UTC
Product Version: NetBeans IDE Dev (Build 200806141203)
Java: 1.6.0_06; Java HotSpot(TM) Client VM 10.0-b22
System: Windows XP version 5.1 running on x86; MS932; ja_JP (nb)
I'm running in the Japan locale, using a pseudo localized Netbeans with font size 16.

Steps:
1. Create WebApp with Hibernate support
2. Open hibernate-reverse-engineering wizard 
3. Goto the step 3 of the wizard

The wizard doesn't resize to show all of its text labels.

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.
Comment 1 kaa 2008-06-17 18:09:18 UTC
Created attachment 62948 [details]
image
Comment 2 _ gowri 2008-06-18 21:52:21 UTC
Partial bug fixed in http://hg.netbeans.org/main/rev/7b7174260ff8. This fixes the configuration file label.
Comment 3 _ gowri 2008-06-21 03:07:00 UTC
The labels are shown to the max of the wizard's size. 
If the labels are too big, then the ... will be shown after the label reaches to the max. 
Thats why I fixed this bug by adding a tooltip for the checkbox component to show the same label. That way the user
doesn't have to maximize to see the full text.

If you really insist on fixing this bug, then the checkbox should be placed in the left side of the panel. That is a UI
change and people might not like it. 
Comment 4 kaa 2008-06-24 16:09:37 UTC
verified in trunk build 0622.
'...' and tooltip makes sense.
Comment 5 Dongmei Cao 2008-09-03 19:17:00 UTC
Added a separate bundle key for the tooltip string - http://hg.netbeans.org/main/rev/11ac84c31f63