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.
Using pseudo localized product, with each message or label having additional multibyte text, and using -fontsize 16 option, running in Chinese locale, Steps to Reproduce: 1)go to File->New.Expand the "Java GUI Forms" Node and choose J Applet. 2)continue the wizard until you reach step 5, which is called " Override Inherited Methods". 3)Check the Messages "Methods To Be Overridden" and and "Generate Super Calls" on the right side of the window. (see attachment) Chinese localization will use a larger font than default one now used so these issues will be more visible to them, but this can also be viewed as a general or a11y issue since may be visible to users in english locale who use larger fonts. Assumption is that user should be able to see all items in a given window when it appears and should not need to resize it to see those things. That is, the UI area or window should dynamically resize itself to show the needed contents. (this does not apply to contents of textfields, areas controlled by scrollbars or vertical resizing controls like in options window) To emulate in non multibyte locale without multibyte in messages or longer messages, you may need to run with fontsize 18 or 20 to see what we are seeing with fontsize 16. Even with larger sizes, it may not be seen exactly the same due to the effect of multibyte and longer strings. This issue is marked with the FONTSIZE keywork; bugs so marked will not appear on quality dashboards and will not need to be waived or fixed for English FCS products of this release. For Netbeans issues, this will be marked as blocking 33246.
Created attachment 10474 [details] gif showing resize issues
Created attachment 10657 [details] Proposed patch
Tomasi, why isn't the patch applied? Is this fix blocked by some other problem in core or elsewhere? If so, please fill in the dependencies correctly. thx.
Ok, it seems to be fixed in trunk. Checking in OverridePanel.form; /cvs/java/src/org/netbeans/modules/java/ui/wizard/OverridePanel.form,v <-- OverridePanel.form new revision: 1.7; previous revision: 1.6 done Checking in OverridePanel.java; /cvs/java/src/org/netbeans/modules/java/ui/wizard/OverridePanel.java,v <-- OverridePanel.java new revision: 1.12; previous revision: 1.11 done Processing log script arguments... Mailing the commit message to cvs@java.netbeans.org (from thurka@netbeans.org)
I reviewed the diffs and fix seems ok. Graphical diff is here: http://www.netbeans.org/source/browse/java/src/org/netbeans/modules/java/ui/wizard/OverridePanel.form.diff?r1=1.6&r2=1.7 http://www.netbeans.org/source/browse/java/src/org/netbeans/modules/java/ui/wizard/OverridePanel.java.diff?r1=1.11&r2=1.12
Merged to release35 branch.
Can't verify yet since some teammembers saw that, using 16 font, that window got to max width of screen but not all message/label showed, since dont think jdk or wmgr allows windows to be bigger than max width. Should window wrap the lines or use scrollbar ? Or does this need to be global issue whose fix would work for all windows, since we've seen this situation with some other areas ? ken.frank@sun.com
Verified. New Wizard doesn't contain Override panel now.
Reorganization of java component