Product Version: NetBeans IDE Dev (Build 200808240201)
Java: 1.6.0_06; Java HotSpot(TM) Client VM 10.0-b22
I'm running in Japanese locale, using a pseudo localized Netbeans with font size 16 option.
1. Create a new Java Beans Component
2. Select the component and create BeanInfo using pop-up menu
3. Switch to the designer of BeanInfo editor
4. Make properties dlg visible and select the bean
5. Press ellipsis button for 'Display Name Code' property.
New dialog appears with null value. It doesn't resize to show its title properly.
The same behavior is for 'Short Description Code' and Customizer Name Code' properties.
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.
Created attachment 68544 [details]
The window is opened by openide/explorer (property sheet implementation) for Node.Property of String type. The beans has
no control over the window and its title. I am not sure if it is bug of PropertyDialogManager or NbPresenter.
Reassigning to openide/explorer for evaluation.
It belongs to beans/src/org/netbeans/modules/beans/beaninfo/CustomCodeEditor.java
*** This issue has been marked as a duplicate of 146343 ***