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 139432 - I18N - persistence.xml visual editor doesn't resize to show all of its text
Summary: I18N - persistence.xml visual editor doesn't resize to show all of its text
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Dongmei Cao
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2008-07-09 17:23 UTC by kaa
Modified: 2008-07-17 14:13 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
image (94.58 KB, image/jpeg)
2008-07-09 17:25 UTC, kaa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kaa 2008-07-09 17:23:58 UTC
Product Version: NetBeans IDE Dev (Build 200806220002)
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 option.

1. Create WebApp
2. Create Persistence Unit
3. Open persistence.xml in visual editor

The editor doesn't resize to show all of its text. See image.

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-07-09 17:25:09 UTC
Created attachment 64194 [details]
image
Comment 2 kaa 2008-07-09 17:36:27 UTC
the same with 0629 build
Comment 3 Dongmei Cao 2008-07-14 20:46:47 UTC
see changeset -8fa5fccc1a30
Comment 4 kaa 2008-07-17 14:13:22 UTC
verified, build 0715