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 116795 - Large font makes the JSF wizard unusable
Summary: Large font makes the JSF wizard unusable
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ potingwu
Depends on:
Reported: 2007-09-26 10:05 UTC by Petr Hejl
Modified: 2007-09-27 18:36 UTC (History)
1 user (show)

See Also:
Exception Reporter:

components overlayed with warning (34.11 KB, image/png)
2007-09-26 20:22 UTC, Petr Hejl

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Hejl 2007-09-26 10:05:34 UTC
When the large font is used the big of the wizard for new Visual Web Page is hided behind the JSF compatibility kit
error message.

I also filed an issue 116794 for consistent wizard solution.
Comment 1 Lark Fitzgerald 2007-09-26 18:16:03 UTC
How large is large?  I tried 20 and 25 and didn't see any glaring problems with the JSF Compatibility error on the 

I tested with:
Product Version: NetBeans 6 IDE Dev (Build beta1: 200709260000)
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b02
Comment 2 Peter Zavadsky 2007-09-26 19:00:34 UTC
The wizard component doesn't belong to designer. For the visual web page is used the standard one.
Comment 3 Petr Hejl 2007-09-26 20:22:41 UTC
Created attachment 49609 [details]
components overlayed with warning
Comment 4 Petr Hejl 2007-09-26 20:24:09 UTC
1) create web project without frameworks, J2EE 1.4, tomcat 5.5
2) Choose New -> Visual Web Page
3) see screenshot
Comment 5 Jiri Rechtacek 2007-09-27 09:19:20 UTC
IMHO no problem in font size. Size of wizard panel depends on layout of UI component returned from user wizard iterator.
That UI component is responsible for sizing, wizard only takes its preferred size. The only problem what I see is the
error message. Wizards API infrastructure allocates only one line for error message. If a user sets more lines into
error message then Wizard API cannot guarantee that fits into wizard panel.
Assigned back to JSF to don't use too many lines in error message.
Comment 6 Peter Zavadsky 2007-09-27 18:17:04 UTC
The message is put in by org.netbeans.modules.visualweb.project.jsf.ui.SimpleTargetChooserPanelGUI, passing there.
Comment 7 _ potingwu 2007-09-27 18:36:01 UTC
> Wizards API infrastructure allocates only one line for error message

I think we should enhance this NetBeans general UI. If it allows for using HTML contexts, then resizing or scrolling
should be available, if it's larger than the area.

Since the mesg is not easy to cropped out, I think the workaround is to enlarge the dialog to see the rest just like you
handle the other Windows application when you use large fonts.

If even enlarging is not working (you can't see some contexts) for large font, then it's a bug. Otherwise, we can now
only treats it as an enhancement and depends on the NetBeans general UI.