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 94408 - I18N - some possible hardcoding of size of some windows or dialogs
Summary: I18N - some possible hardcoding of size of some windows or dialogs
Status: CLOSED WORKSFORME
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 5.x
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: Gregory Murphy
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2007-02-05 17:13 UTC by bugbridge
Modified: 2007-08-22 19:56 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bugbridge 2007-02-05 17:13:46 UTC
Original status: 5-Cause Known; Suggested Status: NEW

Original Target Release: shortfin_dev; Suggested Target Milestone : 5.5


Original submitter: kfrank

Description:
Code scanning of trunk shows some usage of hardcoding of 
setMinimum and setPreferred size of some windows or dialogs,
and sometimes, such usages can cause the windows/dialogs
to not dynamically resize when needed, for example when user runs using a larger
ide font size or when localized messages/labels are longer than they would be in
english - and users should
not need to manually resize most windows or dialogs to be able
to see all the information presented (some exceptions are jtable columns
and main ide windows like explorer, properties, etc)

I realize some of these usages might be ok
but the code scanning is just looking for patterns and also does 
not know what code is unused.

In other other products/packs, many of these usages were
actual problems, so thats why filing here also.

Creator engineering has approved that these be filed.

A file is attached that has these possible problems found for this
module:

propertyeditors

Evaluation:
It is OK to set preferred or minimum size. However, it is best to avoid setting
maximum size, except on panels that include scrolling in them. It looks like
there are a few instance of setting of max size that should be undone.
Comment 1 Jayashri Visvanathan 2007-06-15 05:05:29 UTC
This is Thresher bug. Ken, can you please confirm if this bug still exists. If so, please reopen.
Thanks
Comment 2 Ken Frank 2007-08-22 19:56:26 UTC
am closing this since more updated info and issue on this can be filed
based on analysis of nb6 code.

ken.frank@sun.com