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.
Product Version: NetBeans IDE Dev (Build 200803231202) System: WinXP, ja_JP, font size 16. Steps: 1. Create BPEL Module 2. Open new WSDL doc wizard 3. Press Next button until step 4 4. Select Document Literal radio button An error message appears The wizard does not resize to show it. 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.
Created attachment 59091 [details] image
This has been visited before. http://www.netbeans.org/issues/show_bug.cgi?id=85990 Especially the following comment: Quote: "making the error message scrollable is not a good solution. 1. scrolling one line is non-efficient and ugly. 2. having multiple lines reserved for error messages would possibly break multiple wizards that are optimized for the current content size (which would get smaller) 3. it's no possible to have a JLabel multiline (with the exception of <html>-zed test) so whe would have to replace it with JTextArea. I suggest we either provide a tooltip with complete message (possibly with automatic initial appearance) or by introducing a button on the right-hand side that would show the message in a popup window. none of these shall go to 5.5.1 however. It's too risky to introduce such change that potencially breaks other wizards. BTW not sure why this is assigned to projects, should be openide/dialogs instead." Other than that,the error message has been reduced in this release. (in 6.0, it was longer than in 6.1) It was decided that the tool tip would be the workaround for the long message.
I agree that scrolling one line is non-efficient and looks ugly. Probably a separate message box with a warning will solve this kind of resize issues without splitting the wizard? Tooltip seems to me good solution but it will be not obvious for users.